diff --git a/srcpkgs/whois/template b/srcpkgs/whois/template index 76d6a492baf..ca2750ddd0f 100644 --- a/srcpkgs/whois/template +++ b/srcpkgs/whois/template @@ -1,6 +1,6 @@ # Template file for 'whois' pkgname=whois -version=5.5.15 +version=5.5.16 revision=1 build_style=gnu-makefile make_build_args="HAVE_ICONV=1 CONFIG_FILE=/etc/whois.conf" @@ -14,23 +14,27 @@ 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=16951471874750cd735405cc995d659f8b45005f6dfe4eabf71e8b4f59f8aeb8 +checksum=0a818f56c4bb909cf8665766cb683931de52901d6a33627d51b1005add3cdb27 alternatives=" whois:whois:/usr/bin/gwhois - whois:whois.1:/usr/share/man/man1/gwhois.1" + whois:whois.1:/usr/share/man/man1/gwhois.1 + whois:whois:/usr/share/bash-completion/completions/gwhois" post_install() { mv ${DESTDIR}/usr/bin/{whois,gwhois} mv ${DESTDIR}/usr/share/man/man1/{whois,gwhois}.1 + vcompletion whois.bash bash gwhois } mkpasswd_package() { short_desc="Feature-rich front end to crypt(3) password encryption" alternatives="mkpasswd:mkpasswd:/usr/bin/gmkpasswd - mkpasswd:mkpasswd.1:/usr/share/man/man1/gmkpasswd.1" + mkpasswd:mkpasswd.1:/usr/share/man/man1/gmkpasswd.1 + mkpasswd:mkpasswd:/usr/share/bash-completion/completions/gmkpasswd" pkg_install() { vbin mkpasswd gmkpasswd vman mkpasswd.1 gmkpasswd.1 + vcompletion mkpasswd.bash bash gmkpasswd } }