diff --git a/srcpkgs/whois/template b/srcpkgs/whois/template index c7c785024b8..382c847911b 100644 --- a/srcpkgs/whois/template +++ b/srcpkgs/whois/template @@ -1,15 +1,15 @@ # Template file for 'whois' pkgname=whois -version=5.3.0 +version=5.3.1 revision=1 hostmakedepends="perl" makedepends="libidn-devel" short_desc="An improved whois client" maintainer="Juan RP " +license="GPL-2.0-or-later" homepage="https://www.linux.it/~md/software" -license="GPL-2" distfiles="${DEBIAN_SITE}/main/w/${pkgname}/${pkgname}_${version}.tar.xz" -checksum=4d789c403bfb5833c8ae168a5f31be70e34b045bd5d95a54c82a27b0ff135723 +checksum=ef4ead31306a388d9c8c83d67f56c94ed8b4c85e94f60baea2f5b1660445893e alternatives=" whois:whois:/usr/bin/gwhois @@ -18,6 +18,7 @@ alternatives=" do_build() { make CC=$CC prefix=/usr HAVE_ICONV=1 } + do_install() { make prefix=/usr BASEDIR=${DESTDIR} install-whois mv ${DESTDIR}/usr/bin/{whois,gwhois}