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

Andreas Radke andyrtr at archlinux.org
Wed Mar 1 19:40:52 UTC 2017


    Date: Wednesday, March 1, 2017 @ 19:40:51
  Author: andyrtr
Revision: 289761

archrelease: copy trunk to testing-any

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

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

Copied: tzdata/repos/testing-any/PKGBUILD (from rev 289760, tzdata/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2017-03-01 19:40:51 UTC (rev 289761)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=tzdata
+pkgver=2017a
+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=(https://www.iana.org/time-zones/repository/releases/${pkgname}${pkgver}.tar.gz{,.asc})
+sha512sums=('fe57930711998a0755749a2bf1b32fdbc9e6ee249762017beea52eae7e521236396300fe2d79298fd81eb6d73fb7567884c35995ed248be06188329d937e3873'
+            '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