talimat 774 B

1234567891011121314151617181920
  1. # Description: The zoneinfo database or IANA Time Zone
  2. # URL: http://www.gnu.org/software/libc/
  3. # Packager: milisarge@gmail.com
  4. name=tzdata
  5. version=2016a
  6. release=1
  7. source=(http://www.iana.org/time-zones/repository/releases/$name$version.tar.gz)
  8. build() {
  9. timezones=('africa' 'antarctica' 'asia' 'australasia'
  10. 'europe' 'northamerica' 'southamerica'
  11. 'pacificnew' 'etcetera' 'backward'
  12. 'systemv')
  13. zic -y ./yearistype -d $PKG/usr/share/zoneinfo ${timezones[@]}
  14. zic -y ./yearistype -d $PKG/usr/share/zoneinfo/posix ${timezones[@]}
  15. zic -y ./yearistype -d $PKG/usr/share/zoneinfo/right -L leapseconds ${timezones[@]}
  16. zic -y ./yearistype -d $PKG/usr/share/zoneinfo -p Europe/Istanbul
  17. install -m444 -t $PKG/usr/share/zoneinfo iso3166.tab zone.tab
  18. }