diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-04-26 07:10:03 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-04-26 07:10:03 +0000 |
commit | 08cba733d6ce652821ce45b2152f60a7563530b2 (patch) | |
tree | 7b2cbab335eb22706deb6b61c9356d78cd3825f2 /main/tzdata | |
parent | b271888cfcddc3b07bd3bd8cd7e1980bce2e079e (diff) | |
download | aports-08cba733d6ce652821ce45b2152f60a7563530b2.tar.bz2 aports-08cba733d6ce652821ce45b2152f60a7563530b2.tar.xz |
main/tzdata: fix builddir
Diffstat (limited to 'main/tzdata')
-rw-r--r-- | main/tzdata/APKBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/main/tzdata/APKBUILD b/main/tzdata/APKBUILD index 5eb3faec68..4fc3e4131c 100644 --- a/main/tzdata/APKBUILD +++ b/main/tzdata/APKBUILD @@ -20,21 +20,21 @@ source="http://www.iana.org/time-zones/repository/releases/tzcode$_tzcodever.tar http://dev.alpinelinux.org/archive/posixtz/posixtz-$_ptzver.tar.xz 0001-posixtz-fix-up-lseek.patch" -_builddir="$srcdir" +builddir="$srcdir" _timezones="africa antarctica asia australasia europe northamerica \ southamerica pacificnew etcetera backward systemv factory" build() { - cd "$_builddir" + cd "$builddir" make cc="${CC:-gcc}" CFLAGS="$CFLAGS -DHAVE_STDINT_H=1" TZDIR="/usr/share/zoneinfo" || return 1 - cd "$srcdir"/posixtz-$_ptzver + cd "$builddir"/posixtz-$_ptzver make posixtz || return 1 } package() { - cd "$_builddir" + cd "$builddir" ./zic -y ./yearistype -d "$pkgdir"/usr/share/zoneinfo ${_timezones} ./zic -y ./yearistype -d "$pkgdir"/usr/share/zoneinfo/right -L leapseconds ${_timezones} |