summaryrefslogtreecommitdiff
path: root/system/tzdata
diff options
context:
space:
mode:
Diffstat (limited to 'system/tzdata')
-rw-r--r--system/tzdata/APKBUILD18
1 files changed, 7 insertions, 11 deletions
diff --git a/system/tzdata/APKBUILD b/system/tzdata/APKBUILD
index 89e8d2fb0..cd09dac9c 100644
--- a/system/tzdata/APKBUILD
+++ b/system/tzdata/APKBUILD
@@ -2,17 +2,18 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=tzdata
-pkgver=2018g
-_tzcodever=2018g
+pkgver=2018i
+_tzcodever=2018i
_ptzver=0.5
pkgrel=0
pkgdesc="Time zone data"
url="https://www.iana.org/time-zones"
arch="all"
+options="!check" # Until we have sgml-common.
license="Public-Domain"
depends=""
makedepends=""
-checkdepends="sp"
+checkdepends="sgml-common sp"
subpackages="$pkgname-doc"
source="https://www.iana.org/time-zones/repository/releases/tzcode$_tzcodever.tar.gz
https://www.iana.org/time-zones/repository/releases/tzdata$pkgver.tar.gz
@@ -24,22 +25,17 @@ _timezones="africa antarctica asia australasia europe northamerica \
southamerica pacificnew etcetera backward systemv factory"
build() {
- cd "$builddir"
make cc="${CC:-gcc}" CFLAGS="$CFLAGS -DHAVE_STDINT_H=1"
TZDIR="/usr/share/zoneinfo"
- cd "$builddir"/posixtz-$_ptzver
- make posixtz
+ make -C posixtz-$_ptzver posixtz
}
check() {
- cd "$builddir"
make -j1 check
}
package() {
- cd "$builddir"
-
./zic -y ./yearistype -d "$pkgdir"/usr/share/zoneinfo ${_timezones}
./zic -y ./yearistype -d "$pkgdir"/usr/share/zoneinfo/right -L leapseconds ${_timezones}
#./zic -y ./yearistype -d "$pkgdir"/usr/share/zoneinfo/posix ${_timezones}
@@ -58,7 +54,7 @@ package() {
"$pkgdir"/usr/bin/posixtz
}
-sha512sums="58f89b7323bfe795c5f13039f7527d18b15c9e37fce6e9fa1a402ce2689bf5c772cf1ffb86f23309814a563f9f429da472df1229818b07b1e04f16bdedb21484 tzcode2018g.tar.gz
-92e9bbd61f51be8f2cf7ec9491691e5e2f97803914dbad77b7fb8b6600ed68fc3b98450fc808bb2d4c6c835df5f9eb7bf4529d059d9b1370f2ab4c12e7f1adfa tzdata2018g.tar.gz
+sha512sums="1a3d53043f20b8252f7598f547d78e7294d9e0cf1fcdd2159354d9769f824c8c8a03cef9cbb7fa579345fdb41372335117d2ef782ecd9c107dd0526e59492d9d tzcode2018i.tar.gz
+6afcacb377842190648ed26f01abcf3db37aa2e7c63d8c509c29b4bc0078b7ff2d4e5375291b9f53498215b9e2f04936bc6145e2f651ae0be6d8166d8d336f6a tzdata2018i.tar.gz
68dbaab9f4aef166ac2f2d40b49366527b840bebe17a47599fe38345835e4adb8a767910745ece9c384b57af815a871243c3e261a29f41d71f8054df3061b3fd posixtz-0.5.tar.xz
f54ce213d74c5a8387e1a7c56299bc6eee65a035772288222128abc249a112067b8791b88b45c342b2d4d8d12e9e4f1f2f5c92c5de67f8b6413b1ebf1d7de467 0001-posixtz-fix-up-lseek.patch"