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

andyrtr at archlinux.org andyrtr at archlinux.org
Tue Apr 3 13:52:03 EDT 2012


    Date: Tuesday, April 3, 2012 @ 13:52:03
  Author: andyrtr
Revision: 155441

archrelease: copy trunk to testing-any

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

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

Copied: tzdata/repos/testing-any/PKGBUILD (from rev 155440, tzdata/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2012-04-03 17:52:03 UTC (rev 155441)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=tzdata
+pkgver=2012c
+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
+        ftp://munnari.oz.au/pub/${pkgname}${pkgver}.tar.gz)
+sha1sums=('e0cd9c2cc0ac8d90ed842133b910d4bb3bc1a6dd')
+
+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[@]}
+  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