repo/extra/tzdata/build

16 lines
429 B
Plaintext
Raw Normal View History

2019-07-17 16:23:05 -06:00
#!/bin/sh -e
pkg_dir=$1
make
make DESTDIR="$pkg_dir" install
set -- africa antarctica asia australasia \
europe northamerica southamerica pacificnew \
etcetera backward systemv factory
./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