repo/extra/tzdata/build
2022-08-10 18:25:04 -05:00

14 lines
368 B
Bash
Executable File

#!/bin/sh -e
patch -p1 < awk.patch
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