mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
updated PKGBUILD from abs
This commit is contained in:
parent
9a31f89ed3
commit
02d9aabd5f
1 changed files with 12 additions and 11 deletions
|
@ -1,24 +1,25 @@
|
|||
# Maintainer: Philipp Scholl <pscholl@bawue.de>
|
||||
# $Id: PKGBUILD 59199 2009-11-21 11:27:19Z andyrtr $
|
||||
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
||||
|
||||
pkgname=tzdata
|
||||
pkgver=2009q
|
||||
pkgver=2009s
|
||||
pkgrel=1
|
||||
_tzcode=2009q
|
||||
_tzdata=2009q
|
||||
_tzcode=2009r
|
||||
_tzdata=2009s
|
||||
pkgdesc="Sources for time zone and daylight saving time data"
|
||||
arch=('arm')
|
||||
arch=('i686' 'x86_64' 'arm')
|
||||
url="http://www.twinsun.com/tz/tz-link.htm"
|
||||
license=('GPL')
|
||||
groups=('base')
|
||||
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
|
||||
source=(ftp://elsie.nci.nih.gov/pub/tzcode${_tzcode}.tar.gz \
|
||||
ftp://elsie.nci.nih.gov/pub/${pkgname}${_tzdata}.tar.gz \
|
||||
Makefile.patch)
|
||||
md5sums=('a929027773ea47145bbf2d41ddb6d9aa'
|
||||
'0eab5db205ef58d921fee18c17bfa491'
|
||||
md5sums=('3ea46872dfb400b9141021b975eea83c'
|
||||
'3cd8038d7bbfb3a4ac544aceef724853'
|
||||
'a64ed97d1fc03c66ee8612c0d9f40507')
|
||||
|
||||
build() {
|
||||
|
@ -27,10 +28,10 @@ build() {
|
|||
tar -xf tzcode${_tzcode}.tar.gz || return 1
|
||||
tar -xf ${pkgname}${_tzdata}.tar.gz || return 1
|
||||
|
||||
patch -Np1 -i ../Makefile.patch || return 1
|
||||
patch -Np1 -i "${srcdir}/Makefile.patch" || return 1
|
||||
|
||||
make || return 1
|
||||
make DESTDIR="${pkgdir}" install || return 1
|
||||
|
||||
rm ${pkgdir}/usr/share/zoneinfo/localtime
|
||||
rm "${pkgdir}/usr/share/zoneinfo/localtime"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue