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

Allan McRae allan at archlinux.org
Tue Apr 3 07:10:35 EDT 2012


    Date: Tuesday, April 3, 2012 @ 07:10:34
  Author: allan
Revision: 155412

db-move: moved tzdata from [testing] to [core] (any)

Added:
  tzdata/repos/core-any/
  tzdata/repos/core-any/PKGBUILD
    (from rev 155397, tzdata/repos/testing-any/PKGBUILD)
Deleted:
  tzdata/repos/testing-any/

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

Copied: tzdata/repos/core-any/PKGBUILD (from rev 155397, tzdata/repos/testing-any/PKGBUILD)
===================================================================
--- core-any/PKGBUILD	                        (rev 0)
+++ core-any/PKGBUILD	2012-04-03 11:10:34 UTC (rev 155412)
@@ -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