[arch-commits] Commit in tzdata/repos (testing-any testing-any/PKGBUILD)

Andreas Radke andyrtr at nymeria.archlinux.org
Wed Sep 25 17:22:55 UTC 2013


    Date: Wednesday, September 25, 2013 @ 19:22:55
  Author: andyrtr
Revision: 195150

archrelease: copy trunk to testing-any

Added:
  tzdata/repos/testing-any/
  tzdata/repos/testing-any/PKGBUILD
    (from rev 195149, tzdata/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: tzdata/repos/testing-any/PKGBUILD (from rev 195149, tzdata/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2013-09-25 17:22:55 UTC (rev 195150)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=tzdata
+pkgver=2013f
+pkgrel=1
+pkgdesc="Sources for time zone and daylight saving time data"
+arch=('any')
+url="http://www.iana.org/time-zones"
+license=('GPL')
+options=('!emptydirs')
+source=(http://www.iana.org/time-zones/repository/releases/${pkgname}${pkgver}.tar.gz
+        # tzcodes is required for leapseconds.awk file that is not yet part of tzdata
+        http://www.iana.org/time-zones/repository/releases/tzcode${pkgver}.tar.gz)
+sha1sums=('df1bc479779151403d847d42e3b3824ff710edfa'
+          'daf27f2434bcc5e1489a1ade86917207913cf1ef')
+
+timezones=('africa' 'antarctica' 'asia' 'australasia'
+           'europe' 'northamerica' 'southamerica'
+           'pacificnew' 'etcetera' 'backward'
+           'systemv' 'factory'
+           'solar87' 'solar88' 'solar89')
+
+package() {
+  cd ${srcdir}
+  zic -y ./yearistype -d ${pkgdir}/usr/share/zoneinfo ${timezones[@]}
+  zic -y ./yearistype -d ${pkgdir}/usr/share/zoneinfo/posix ${timezones[@]}
+  
+  # generate leapseconds file
+  awk -f leapseconds.awk leap-seconds.list > leapseconds && echo "leapseconds file generated"
+  zic -y ./yearistype -d ${pkgdir}/usr/share/zoneinfo/right -L leapseconds ${timezones[@]}
+  
+  zic -y ./yearistype -d ${pkgdir}/usr/share/zoneinfo -p America/New_York
+  install -m444 -t ${pkgdir}/usr/share/zoneinfo iso3166.tab zone.tab
+}




More information about the arch-commits mailing list