diff options
Diffstat (limited to 'extra/tzdata')
-rwxr-xr-x | extra/tzdata/build | 17 | ||||
-rw-r--r-- | extra/tzdata/checksums | 3 | ||||
-rw-r--r-- | extra/tzdata/message | 6 | ||||
-rw-r--r-- | extra/tzdata/meta | 3 | ||||
-rw-r--r-- | extra/tzdata/sources | 2 | ||||
-rw-r--r-- | extra/tzdata/version | 2 |
6 files changed, 25 insertions, 8 deletions
diff --git a/extra/tzdata/build b/extra/tzdata/build index 8b77e1ae..3d3b5b84 100755 --- a/extra/tzdata/build +++ b/extra/tzdata/build @@ -2,12 +2,17 @@ pkg_dir=$1 -make CC="${CC:-gcc}" LDFLAGS="$LDFLAGS -static" -make DESTDIR="$1" install +make CC="${CC:-cc}" LDFLAGS="$LDFLAGS -static" -# Get rid of the sbin directory -mv "$1/usr/sbin/zic" "$1/usr/bin/zic" -rm -rf "$1/usr/sbin" +# I decided to remove these from the package, because I don't know of a use case +# since we are building the timezone files in the package's build script anyway. +# If you for some reason think that these should absolutely be included in the +# package, contact me saying so, otherwise uncomment the following lines to +# install these. +# +# clinst -Dm755 -t "$1/usr/bin" zic zdump +# clinst -Dm755 -s '1c#!/bin/sh' tzselect "$1/usr/bin/tzselect" +# clman -d "$1" zic.8 zdump.8 tzselect.8 set -- africa asia australasia europe northamerica southamerica @@ -15,3 +20,5 @@ set -- africa asia australasia europe northamerica southamerica ./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 + +clinst -Dm644 -t "$pkg_dir/usr/share/zoneinfo" ./*.tab diff --git a/extra/tzdata/checksums b/extra/tzdata/checksums index 68b78865..85f208f5 100644 --- a/extra/tzdata/checksums +++ b/extra/tzdata/checksums @@ -1 +1,2 @@ -bd7ecd99cbb0a2f15bb7e38be2cbc04dced89922fce4ac0ffcd1ca844ba9362f 2021a.tar.gz +%BLAKE3 +30f528d38ecd50962098eca70b515a32eb6ff4462eda62f4c9edb40e4559d9c6 2023c.tar.gz diff --git a/extra/tzdata/message b/extra/tzdata/message new file mode 100644 index 00000000..f8be1298 --- /dev/null +++ b/extra/tzdata/message @@ -0,0 +1,6 @@ +[1;33mWARNING[m + +[1mtzdata[m no longer has the '/etc/localtime' file packaged, +you may need to manually relink the localtime file if +you are upgrading the package. + diff --git a/extra/tzdata/meta b/extra/tzdata/meta new file mode 100644 index 00000000..ce971027 --- /dev/null +++ b/extra/tzdata/meta @@ -0,0 +1,3 @@ +description: Timze zone data and utilities +license: Public Domain, BSD-3-Clause +maintainer: Cem Keylan <cem@carbslinux.org> diff --git a/extra/tzdata/sources b/extra/tzdata/sources index 2421adff..e87526eb 100644 --- a/extra/tzdata/sources +++ b/extra/tzdata/sources @@ -1 +1 @@ -https://github.com/eggert/tz/archive/2021a.tar.gz +https://github.com/eggert/tz/archive/2023c.tar.gz diff --git a/extra/tzdata/version b/extra/tzdata/version index 2221e5ba..c8dc1d67 100644 --- a/extra/tzdata/version +++ b/extra/tzdata/version @@ -1 +1 @@ -2021a 1 +2023c 1 |