aboutsummaryrefslogtreecommitdiff
path: root/extra/tzdata/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2019-12-09 19:17:24 +0300
committerCem Keylan <cem@ckyln.com>2019-12-09 19:17:24 +0300
commit03423e0583057cbe5a16f8439183e2dbc0e8dd7c (patch)
tree81fe3ba69d94146f83fb5541d1fb2da0ac4eac08 /extra/tzdata/build
downloadrepository-03423e0583057cbe5a16f8439183e2dbc0e8dd7c.tar.gz
secondary commit
Diffstat (limited to 'extra/tzdata/build')
-rwxr-xr-xextra/tzdata/build13
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/tzdata/build b/extra/tzdata/build
new file mode 100755
index 00000000..369842d0
--- /dev/null
+++ b/extra/tzdata/build
@@ -0,0 +1,13 @@
+#!/bin/sh -e
+
+pkg_dir=$1
+
+make CC="${CC:-gcc}"
+make DESTDIR="$1" 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