whois: update to 5.5.12.

This commit is contained in:
Duncaen 2022-03-12 16:44:34 +01:00
parent 8d3e827230
commit f192fcb305
No known key found for this signature in database
GPG key ID: 335C1D17EC3D6E35

View file

@ -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
}