# $Id: PKGBUILD 143998 2011-12-01 15:53:42Z giovanni $ # Maintainer: Giovanni Scafora # Contributor: Tom Newsom pkgname=whois pkgver=5.0.13 pkgrel=1 pkgdesc="The whois client by Marco d'Itri" arch=('i686' 'x86_64' 'mips64el') url="http://www.linux.it/~md/software/" license=('GPL') depends=('libidn') makedepends=('perl') source=("http://ftp.debian.org/debian/pool/main/w/whois/${pkgname}_${pkgver}.tar.gz") md5sums=('1c703fa6ddc2f41ae94efc7c8bfc794d') build() { cd "${srcdir}/${pkgname}-${pkgver}" make prefix=/usr CFLAGS="$CFLAGS" HAVE_LIBIDN=1 } package() { cd "${srcdir}/${pkgname}-${pkgver}" make prefix=/usr BASEDIR="${pkgdir}" install-whois }