aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-net-rblclient/APKBUILD
blob: 5a2e2a7126f544d85eb33cb10feced6cf8aef2e9 (plain) (blame)
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
35
36
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer:  Michael Mason <ms13sp@gmail.com>
pkgname=perl-net-rblclient
_realname=Net-RBLClient
pkgver=0.5
pkgrel=3
pkgdesc="Queries multiple Realtime Blackhole Lists in parallel"
url="http://search.cpan.org/dist/Net-RBLClient/"
arch="noarch"
license="Artistic GPL-2.0"
depends="perl"
makedepends="perl-dev"
install=
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/A/AB/ABLUM/$_realname-$pkgver.tar.gz"
builddir="$srcdir/RBLCLient-$pkgver"

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

check() {
	cd "$builddir"
	make test
}

package() {
	cd "$srcdir/RBLCLient-$pkgver"
	make DESTDIR="$pkgdir" install
	# creates file collision among perl modules
	find "$pkgdir" -name perllocal.pod -delete
}

sha512sums="8991c21b22c083b82f79e1c8ffb59cc414731013610361bb192df5533bc56a0de4061d46905d7b1dd213d90f247ad5927955906a28a06ff1d3d135401c560d7e  Net-RBLClient-0.5.tar.gz"