aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-net-whois-ip/APKBUILD
blob: 9d89270ecdb0986aadd2002231cad1ead3a7d510 (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=perl-net-whois-ip
_realname=Net-Whois-IP
pkgver=1.19
pkgrel=0
pkgdesc="Perl extension for looking up the whois information for ip addresses"
url="http://search.cpan.org/~bschmitz/Net-Whois-IP/"
arch="noarch"
license="PerlArtistic"
depends="perl "
depends_dev=""
makedepends="perl-dev"
install=""
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/B/BS/BSCHMITZ/$_realname-$pkgver.tar.gz"
_builddir="$srcdir"/$_realname-$pkgver

build() {
	cd "$_builddir"
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

md5sums="06b319f4da85f13b3ea757f589f37e17  Net-Whois-IP-1.19.tar.gz"
sha256sums="f09bdfa0f1d2665b534826b5f3a8662349930eed2998efe4d8dbf98813147222  Net-Whois-IP-1.19.tar.gz"
sha512sums="80d1be9dc6c8e9da74df97524f1a804f6ab64f1e016509944b1ba970c2a508e46cd6d633c6cfc2e9fa5d3fc8240500f81cbc90a27bdeab26cb7b590ba97758ae  Net-Whois-IP-1.19.tar.gz"