pkgname=whois pkgver=5.5.23 pkgrel=1 pkgdesc="Intelligent WHOIS client" arch=('x86_64') url="https://github.com/rfc1036/whois" license=('GPLv2') depends=('libidn2') makedepends=('perl') backup=('etc/whois.conf') #source=("https://ftp.debian.org/debian/pool/main/w/whois/${pkgname}_${pkgver}.tar.xz") source=("https://github.com/rfc1036/whois/archive/refs/tags/v${pkgver}.tar.gz") md5sums=('741652c71e58a773a2f8c7e32870eba1') build() { cd ${pkgname}-${pkgver} make } package() { cd ${pkgname}-${pkgver} make prefix=/usr BASEDIR=${pkgdir} install-whois make prefix=/usr BASEDIR=${pkgdir} install-pos install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING }