void-packages/srcpkgs/tzutils/template
Đoàn Trần Công Danh d4097a3f35 tzutils: update to 2021c.
2021-10-04 08:23:09 +07:00

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
}