blob: f33a40656fdf72e8744ea3d8a72245eba9aa9ded (
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
29
30
31
32
33
34
35
36
37
38
39
40
|
# $Id: PKGBUILD 98331 2010-11-07 18:34:04Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
pkgname=tzdata
pkgver=2011a
pkgrel=1
_tzcode=2011a
_tzdata=2011a
pkgdesc="Sources for time zone and daylight saving time data"
arch=('i686' 'x86_64')
url="http://www.twinsun.com/tz/tz-link.htm"
license=('GPL')
depends=()
makedepends=()
optdepends=('sh: required by tzselect')
options=('!emptydirs')
source=(ftp://elsie.nci.nih.gov/pub/tzcode${_tzcode}.tar.gz \
ftp://elsie.nci.nih.gov/pub/${pkgname}${_tzdata}.tar.gz \
Makefile.patch)
build() {
cd ${srcdir}
tar -xf tzcode${_tzcode}.tar.gz
tar -xf ${pkgname}${_tzdata}.tar.gz
patch -Np1 -i "${srcdir}/Makefile.patch"
make
}
package() {
cd ${srcdir}
make DESTDIR="${pkgdir}" install
rm "${pkgdir}/usr/share/zoneinfo/localtime"
}
md5sums=('001db5591974e6db7797a90cbdcbbadc'
'd60f168fb7307d8c1b926c7dc3a6c5c1'
'a64ed97d1fc03c66ee8612c0d9f40507')
|