[arch-commits] Commit in tzdata/repos (testing-any testing-any/PKGBUILD)
Allan McRae
allan at archlinux.org
Sun Mar 25 03:10:28 UTC 2012
Date: Saturday, March 24, 2012 @ 23:10:27
Author: allan
Revision: 154262
archrelease: copy trunk to testing-any
Added:
tzdata/repos/testing-any/
tzdata/repos/testing-any/PKGBUILD
(from rev 154261, tzdata/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: tzdata/repos/testing-any/PKGBUILD (from rev 154261, tzdata/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2012-03-25 03:10:27 UTC (rev 154262)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=tzdata
+pkgver=2012b
+pkgrel=3
+_tzcode=2012b
+_tzdata=2012b
+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}${_tzdata}.tar.gz
+ ftp://munnari.oz.au/pub/${pkgname}${_tzdata}.tar.gz)
+md5sums=('0615fd29def380a917e528433c820368')
+
+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