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

Andreas Radke andyrtr at archlinux.org
Sat Jan 30 17:08:08 UTC 2016


    Date: Saturday, January 30, 2016 @ 18:08:08
  Author: andyrtr
Revision: 258703

archrelease: copy trunk to testing-any

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

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

Copied: tzdata/repos/testing-any/PKGBUILD (from rev 258702, tzdata/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2016-01-30 17:08:08 UTC (rev 258703)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=tzdata
+pkgver=2016a
+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{,.asc})
+sha512sums=('9aa5f61a73afa5070dfb1d1982945d268ea8215663d0cd594216500aff14797ea5591ccfd488dc2280902fa1820bf782623624912b669873728431258fe10ec1'
+          '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