32 lines
729 B
Bash
32 lines
729 B
Bash
# Template file for 'tzutils'
|
|
pkgname=tzutils
|
|
version=2021c
|
|
revision=1
|
|
bootstrap=yes
|
|
wrksrc="tz-${version}"
|
|
short_desc="Time zone and daylight-saving time utilities"
|
|
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
|
license="Public Domain, BSD-3-Clause"
|
|
homepage="https://www.iana.org/time-zones"
|
|
distfiles="https://github.com/eggert/tz/archive/${version}.tar.gz"
|
|
checksum=43e657d877c73bd130dc3ddba83f64d654e8269d38f731b13d5cb23b79befeb1
|
|
|
|
do_build() {
|
|
echo "$version" >version
|
|
make TZDIR=/usr/share/zoneinfo KSHELL=/bin/sh \
|
|
CC=$CC CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
|
|
}
|
|
|
|
do_check() {
|
|
make check
|
|
}
|
|
|
|
do_install() {
|
|
vbin zic
|
|
vbin zdump
|
|
vbin tzselect
|
|
vman zic.8
|
|
vman zdump.8
|
|
vman tzselect.8
|
|
vlicense LICENSE
|
|
}
|