desktop/whois/PKGBUILD

24 lines
616 B
Bash
Raw Normal View History

pkgname=whois
2015-06-22 23:42:18 +08:00
pkgver=5.2.9
pkgrel=1
pkgdesc="The whois client by Marco d'Itri"
arch=('x86_64')
url="http://www.linux.it/~md/software/"
license=('GPL')
depends=('libidn')
makedepends=('perl')
2014-12-17 19:20:38 +08:00
source=("http://ftp.debian.org/debian/pool/main/w/$pkgname/whois_$pkgver.tar.xz")
2015-06-22 23:42:18 +08:00
sha512sums=('083c77c133dff675a346c203cbd3dd2327ef4b980c474b0deb66d21d9687739b4ccb12a7d1666eb091654902456e64bb416349073d13f16773c56d867f6a2f04')
build() {
2014-12-17 19:20:38 +08:00
cd "$srcdir/$pkgname-$pkgver"
make prefix=/usr CFLAGS="$CFLAGS" HAVE_LIBIDN=1
}
package() {
2014-12-17 19:20:38 +08:00
cd "$srcdir/$pkgname-$pkgver"
2014-12-17 19:20:38 +08:00
make prefix=/usr BASEDIR="$pkgdir" install-whois
}