blob: 1f4c16a28266f9a40b51e41d032b9ae7536c621a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# $Id: PKGBUILD 163845 2012-07-21 11:06:11Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
pkgname=tzdata
pkgver=2012d
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)
sha1sums=('65d98727233bfd3f5d20dceafab0a81ae2cb5527')
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
}
|