Commit 0a3b04e5 authored by Pedro Filipe's avatar Pedro Filipe Committed by Natanael Copa

main/tzdata: upgrade to 2018g

parent 131b0bb9
......@@ -2,7 +2,7 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=tzdata
pkgver=2018f
pkgver=2018g
_tzcodever=2018d
_ptzver=0.5
pkgrel=0
......@@ -25,14 +25,15 @@ source="http://www.iana.org/time-zones/repository/releases/tzcode$_tzcodever.tar
builddir="$srcdir"
_timezones="africa antarctica asia australasia europe northamerica \
southamerica pacificnew etcetera backward systemv factory"
options="!check" # Testsuite require nsgmls (SP)
build() {
cd "$builddir"
make cc="${CC:-gcc}" CFLAGS="$CFLAGS -DHAVE_STDINT_H=1"
TZDIR="/usr/share/zoneinfo" || return 1
TZDIR="/usr/share/zoneinfo"
cd "$builddir"/posixtz-$_ptzver
make posixtz || return 1
make posixtz
}
package() {
......@@ -46,18 +47,18 @@ package() {
install -m444 -t "$pkgdir"/usr/share/zoneinfo iso3166.tab zone1970.tab zone.tab
mkdir -p "$pkgdir"/usr/sbin
install -m755 zic zdump "$pkgdir"/usr/sbin || return 1
install -m755 zic zdump "$pkgdir"/usr/sbin
mkdir -p "$pkgdir"/usr/share/man/man8
install -m644 zic.8 zdump.8 "$pkgdir"/usr/share/man/man8 || return 1
install -m644 zic.8 zdump.8 "$pkgdir"/usr/share/man/man8
rm -f "$pkgdir"/usr/share/zoneinfo/localtime || return 1
rm -f "$pkgdir"/usr/share/zoneinfo/localtime
install -Dm755 "$srcdir"/posixtz-$_ptzver/posixtz \
"$pkgdir"/usr/bin/posixtz || return 1
"$pkgdir"/usr/bin/posixtz
}
sha512sums="e79a95e235cd384247e4112d5154f30eb7b40f28dab4872ed9153e45bf56569949d0845bc1b9ad24b7a5f9609bdadfc892959dbf0d540dbca79b18398dc4f930 tzcode2018d.tar.gz
f876729419d45e2b861e564ec7d5940f34fab38c3fedc18852bb800010428c12506f71bde1f20feb23859065118ad4658d97efe89af6f4305cea2beafc515aeb tzdata2018f.tar.gz
92e9bbd61f51be8f2cf7ec9491691e5e2f97803914dbad77b7fb8b6600ed68fc3b98450fc808bb2d4c6c835df5f9eb7bf4529d059d9b1370f2ab4c12e7f1adfa tzdata2018g.tar.gz
68dbaab9f4aef166ac2f2d40b49366527b840bebe17a47599fe38345835e4adb8a767910745ece9c384b57af815a871243c3e261a29f41d71f8054df3061b3fd posixtz-0.5.tar.xz
0f2a10ee2bb4007f57b59123d1a0b8ef6accf99e568f21537f0bb19f290fff46e24050f55f12569d7787be600e1b62aa790ea85a333153f3ea081a812c81b1b5 0001-posixtz-ensure-the-file-offset-we-pass-to-lseek-is-o.patch
fb322ab7867517ba39265d56d3576cbcea107c205d524e87015c1819bbb7361f7322232ee3b86ea9b8df2886e7e06a6424e3ac83b2006be290a33856c7d40ac4 0002-fix-implicit-declaration-warnings-by-including-strin.patch"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment