From f192fcb305a96e5681a89d52540598fbc81f826f Mon Sep 17 00:00:00 2001 From: Duncaen Date: Sat, 12 Mar 2022 16:44:34 +0100 Subject: [PATCH] whois: update to 5.5.12. --- srcpkgs/whois/template | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/srcpkgs/whois/template b/srcpkgs/whois/template index f46219419be..46bb8347a81 100644 --- a/srcpkgs/whois/template +++ b/srcpkgs/whois/template @@ -1,8 +1,12 @@ # Template file for 'whois' pkgname=whois -version=5.5.11 +version=5.5.12 revision=1 wrksrc=whois +build_style=gnu-makefile +make_build_args="prefix=/usr HAVE_ICONV=1 CONFIG_FILE=/etc/whois.conf" +make_install_args="prefix=/usr BASEDIR=\${DESTDIR}" +make_install_target="install-whois" hostmakedepends="perl pkg-config gettext" makedepends="libidn2-devel" short_desc="Improved whois client" @@ -11,18 +15,13 @@ license="GPL-2.0-or-later" homepage="https://www.linux.it/~md/software" changelog="https://raw.githubusercontent.com/rfc1036/whois/next/debian/changelog" distfiles="${DEBIAN_SITE}/main/w/${pkgname}/${pkgname}_${version}.tar.xz" -checksum=966281eb8301c14a1acc17e46c70061f73179d80e370aef43065c22f0947fb87 +checksum=f1c5bab781b7f2357dab1039e8875d41ff7b5d03a78c27443fa26351952a0822 alternatives=" whois:whois:/usr/bin/gwhois whois:whois.1:/usr/share/man/man1/gwhois.1" -do_build() { - make CC=$CC prefix=/usr HAVE_ICONV=1 CONFIG_FILE=/etc/whois.conf -} - -do_install() { - make prefix=/usr BASEDIR=${DESTDIR} install-whois +post_install() { mv ${DESTDIR}/usr/bin/{whois,gwhois} mv ${DESTDIR}/usr/share/man/man1/{whois,gwhois}.1 }