repo/extra/tzdata/build
2021-07-18 06:24:34 +03:00

12 lines
345 B
Bash
Executable File

#!/bin/sh -e
make
make DESTDIR="$1" ZICDIR=/usr/bin install
set -- africa asia australasia europe northamerica southamerica
./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