From d78c78803b65b9eec1838295557cb23936eae6c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Wed, 9 Jun 2021 18:31:25 +0700 Subject: [PATCH] tzutils: fix version, set bootstrap=yes Some packages require tzdata to testing, however, adding `tzdata` to those checkdepends will break masterdir, since `tzdata` provides `/usr/share/zoneinfo/UTC`, hence, it will be removed upon cleanup. Adding tzdata into base-chroot requires tzdata, thus tzutils is bootstrappable. Let's do it. --- srcpkgs/tzutils/template | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/srcpkgs/tzutils/template b/srcpkgs/tzutils/template index 3bd79fb85cb..252a714929c 100644 --- a/srcpkgs/tzutils/template +++ b/srcpkgs/tzutils/template @@ -1,16 +1,18 @@ # Template file for 'tzutils' pkgname=tzutils version=2021a -revision=1 +revision=2 +bootstrap=yes wrksrc="tz-${version}" short_desc="Time zone and daylight-saving time utilities" -maintainer="Anthony Iliopoulos " +maintainer="Đoàn Trần Công Danh " license="Public Domain, BSD-3-Clause" homepage="https://www.iana.org/time-zones" distfiles="https://github.com/eggert/tz/archive/${version}.tar.gz" checksum=bd7ecd99cbb0a2f15bb7e38be2cbc04dced89922fce4ac0ffcd1ca844ba9362f do_build() { + echo "$version" >version make TZDIR=/usr/share/zoneinfo CC=$CC CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" } @@ -21,8 +23,5 @@ do_install() { vman zic.8 vman zdump.8 vman tzselect.8 -} - -post_install() { vlicense LICENSE }