aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2020-04-24 23:24:12 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2020-04-27 10:52:07 +0000
commit43dc27b2c12c7907fd2d4120093bc510d780bf05 (patch)
treec9fc0bb48c4a684807f32d899a74ade3544d2e7a
parent2671de78c5d89ba639b1dcca2a06246da56944bc (diff)
downloadaports-43dc27b2c12c7907fd2d4120093bc510d780bf05.tar.gz
aports-43dc27b2c12c7907fd2d4120093bc510d780bf05.tar.bz2
aports-43dc27b2c12c7907fd2d4120093bc510d780bf05.tar.xz
main/tzdata: upgrade to 2020a
-rw-r--r--main/tzdata/APKBUILD21
1 files changed, 7 insertions, 14 deletions
diff --git a/main/tzdata/APKBUILD b/main/tzdata/APKBUILD
index f971dc226e..9725639106 100644
--- a/main/tzdata/APKBUILD
+++ b/main/tzdata/APKBUILD
@@ -2,18 +2,14 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=tzdata
-pkgver=2019c
-_tzcodever=2019c
+pkgver=2020a
+_tzcodever=2020a
_ptzver=0.5
pkgrel=0
pkgdesc="Timezone data"
url="https://www.iana.org/time-zones"
arch="all"
license="Public-Domain"
-depends=""
-depends_dev=""
-makedepends=""
-install=""
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
@@ -28,7 +24,6 @@ _timezones="africa antarctica asia australasia europe northamerica \
options="!check" # Testsuite require nsgmls (SP)
build() {
- cd "$builddir"
make cc="${CC:-gcc}" CFLAGS="$CFLAGS -DHAVE_STDINT_H=1"
TZDIR="/usr/share/zoneinfo"
@@ -37,11 +32,9 @@ build() {
}
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}
+ ./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
./zic -y ./yearistype -d "$pkgdir"/usr/share/zoneinfo -p America/New_York
install -m444 -t "$pkgdir"/usr/share/zoneinfo iso3166.tab zone1970.tab zone.tab
@@ -57,8 +50,8 @@ package() {
"$pkgdir"/usr/bin/posixtz
}
-sha512sums="61ef36385f501c338c263081486de0d1fccd454b86f8777b0dbad4ea3f21bbde059d0a91c23e207b167ed013127d3db8b7528f0188814a8b44d1f946b19d9b8b tzcode2019c.tar.gz
-2921cbb2fd44a6b8f7f2ed42c13fbae28195aa5c2eeefa70396bc97cdbaad679c6cc3c143da82cca5b0279065c02389e9af536904288c12886bf345baa8c6565 tzdata2019c.tar.gz
+sha512sums="5235d6590e844491df32375857f5f36ba0046f2d21a078375188dff79b125cf9b69136a0a431624de1ecfa9d53b62a232f0e6ee0b734294cec62b670e6265cb2 tzcode2020a.tar.gz
+2a2fc2e3ad8a6e4c574242296c847ad582c2c1d86add9c556e65c812d19b9528522e3c4dddb5239017091825d2acc5a2ccaf21dc41b900b6c300ef4264cc5a9d tzdata2020a.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"