diff options
| author | Woodpecker CI <emmett1.2miligrams@protonmail.com> | 2025-06-03 14:32:36 +0000 |
|---|---|---|
| committer | Woodpecker CI <emmett1.2miligrams@protonmail.com> | 2025-06-03 14:32:36 +0000 |
| commit | 93a354611e38a6949add5c2e5ccc93ef79b9755f (patch) | |
| tree | 7fee41752b1047d74c59f8ee046cd62735e7e934 /tzdata/abuild | |
| parent | 35912580b66e9439f91ea441938828ad8aa33b0d (diff) | |
| download | alicelinux-93a354611e38a6949add5c2e5ccc93ef79b9755f.tar.gz alicelinux-93a354611e38a6949add5c2e5ccc93ef79b9755f.zip | |
Woodpecker CI 5171f1fdd74e7137c305450dd69a29fa5be4143f [SKIP CI]
Diffstat (limited to 'tzdata/abuild')
| -rw-r--r-- | tzdata/abuild | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/tzdata/abuild b/tzdata/abuild new file mode 100644 index 00000000..cb5dc051 --- /dev/null +++ b/tzdata/abuild @@ -0,0 +1,26 @@ +name=tzdata +version=2025b +release=1 +source="https://www.iana.org/time-zones/repository/releases/${name}${version}.tar.gz + https://www.iana.org/time-zones/repository/releases/tzcode${version}.tar.gz" + +build() { + make + make DESTDIR=$PKG install + + ZONEINFO=$PKG/usr/share/zoneinfo + mkdir -pv $ZONEINFO/posix \ + $ZONEINFO/right + + for tz in etcetera southamerica northamerica europe africa antarctica \ + asia australasia backward; do + ./zic -L /dev/null -d $ZONEINFO -y "sh yearistype.sh" ${tz} + ./zic -L /dev/null -d $ZONEINFO/posix -y "sh yearistype.sh" ${tz} + ./zic -L leapseconds -d $ZONEINFO/right -y "sh yearistype.sh" ${tz} + done + + cp -v zone.tab zone1970.tab iso3166.tab $ZONEINFO + ./zic -d $ZONEINFO -p America/New_York + + rm $PKG/etc/localtime +} |