pkgname=whois pkgver=5.5.22 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=('be72dcd7bb9911ce63289f95262c3a23') 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 }