tzdata: update for new env

This commit is contained in:
Dylan Araps 2021-07-18 06:24:34 +03:00
parent 8f682d6083
commit 2431c0cfd6
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

View File

@ -1,13 +1,11 @@
#!/bin/sh -e
pkg_dir=$1
make CC="${CC:-cc}"
make
make DESTDIR="$1" ZICDIR=/usr/bin install
set -- africa asia australasia europe northamerica southamerica
./zic -d "$pkg_dir/usr/share/zoneinfo" "$@"
./zic -d "$pkg_dir/usr/share/zoneinfo/posix" "$@"
./zic -d "$pkg_dir/usr/share/zoneinfo/right" -L leapseconds "$@"
./zic -d "$pkg_dir/usr/share/zoneinfo" -p America/New_York
./zic -d "$DESTDIR/usr/share/zoneinfo" "$@"
./zic -d "$DESTDIR/usr/share/zoneinfo/posix" "$@"
./zic -d "$DESTDIR/usr/share/zoneinfo/right" -L leapseconds "$@"
./zic -d "$DESTDIR/usr/share/zoneinfo" -p America/New_York