[arch-commits] Commit in tzdata/repos (testing-any testing-any/PKGBUILD)
Andreas Radke
andyrtr at archlinux.org
Sat Oct 1 08:42:34 UTC 2016
Date: Saturday, October 1, 2016 @ 08:42:34
Author: andyrtr
Revision: 277500
archrelease: copy trunk to testing-any
Added:
tzdata/repos/testing-any/
tzdata/repos/testing-any/PKGBUILD
(from rev 277499, tzdata/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: tzdata/repos/testing-any/PKGBUILD (from rev 277499, tzdata/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2016-10-01 08:42:34 UTC (rev 277500)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=tzdata
+pkgver=2016g
+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')
+# new signing key is not available via public keyservers
+source=(http://www.iana.org/time-zones/repository/releases/${pkgname}${pkgver}.tar.gz) #{,.asc})
+sha512sums=('7b414c1af80faed335a59f40a18931265b71f8dacc3a5f3bd93e8ea0e3d6416a6839dfb88c64b04df3c728c4fb44105503ddb6e87f317dbff29e43c491c2fb3d')
+# 'SKIP')
+#validpgpkeys=('7E3792A9D8ACF7D633BC1588ED97E90E62AA7E34') # Paul Eggert <eggert at cs.ucla.edu>
+
+timezones=('africa' 'antarctica' 'asia' 'australasia'
+ 'europe' 'northamerica' 'southamerica'
+ 'pacificnew' 'etcetera' 'backward'
+ 'systemv' 'factory')
+
+package() {
+ cd ${srcdir}
+ zic -y ./yearistype -d ${pkgdir}/usr/share/zoneinfo ${timezones[@]}
+ zic -y ./yearistype -d ${pkgdir}/usr/share/zoneinfo/posix ${timezones[@]}
+ 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 zone1970.tab zone.tab # zone.tab is depricated and will go soon
+}
More information about the arch-commits
mailing list