blob: c4296a2f46213f6a05867d5876f2b81fc6e2d86e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=whois
pkgver=5.2.13
pkgrel=0
pkgdesc="Intelligent WHOIS client by Marco d'Itri"
url="http://www.linux.it/~md/software/"
arch="all"
license="GPL2"
makedepends="perl libidn-dev gettext-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/rfc1036/$pkgname/archive/v$pkgver.tar.gz
undefined-libintl.patch"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
make CONFIG_FILE="/etc/whois.conf" \
HAVE_LIBIDN=1 HAVE_ICONV=1 \
|| return 1
}
package() {
cd "$builddir"
make BASEDIR="$pkgdir" install-whois || return 1
install -D -m644 whois.conf "$pkgdir/etc/whois.conf"
}
md5sums="46cc9fe8c433491811077273eb933d84 whois-5.2.13.tar.gz
2242ddc5ddd2bb98465e467e324de686 undefined-libintl.patch"
sha256sums="d7af1e89e7b3c63835e78bcea6c8aeb14640a3f1027f18b7b619a47100a6f2dc whois-5.2.13.tar.gz
27876ce871f1116b6bc5baeab5176787b36c5ca1574dff2267b236f97b2a35d4 undefined-libintl.patch"
sha512sums="b2292556a389fa3bccc6752abd085186822ed63230cd564636df52c7d50dad8c0e5476e4eff6bfbdd3dbc2346d9bb10f161e7b13898c1243dabdb60bf2e28730 whois-5.2.13.tar.gz
83de8846813ee25acda5027a79b71932cdd8d9a13acac6f7d7831c1f84b154fb865abda510d82222e6edb344dead7f480734b1fe83dc3ba8a3ec81b35ba0ab69 undefined-libintl.patch"
|