# Maintainer: PktSurf app=whois version=5.4.2 build=1sml homepage="https://github.com/rfc1036/whois" download="https://github.com/rfc1036/whois/archive/refs/tags/v$version.tar.gz" desc="Improved whois directory client derived from BSD and RIPE whois programs" requires="perl libidn" prepbuilddir() { mkandenterbuilddir rm -rf $app-$version tar xf $srcdir/$app-$version.tar.?z* cd $app-$version fixbuilddirpermissions } build() { make install -Dm 755 whois $pkg/usr/bin/whois install -Dm 644 whois.conf $pkg/etc/whois.conf.new install -Dm 644 whois.1 $pkg/usr/share/man/man1/whois.1 install -Dm 644 mkpasswd.1 $pkg/usr/share/man/man1/mkpasswd.1 cp COPYING $pkgdocs/ mkfinalpkg } sha512sums=" 973a09fa52de9e0292a405287a6d3ae281e2feb6d9f92969c6488247e4fbb31e3b5a67f1f2c49e64271ea0c3511e515c3bc42ee16530332c6c15f86d6fdc6b09 whois-5.4.2.tar.lz "