diff options
-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} |