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

build() {
	cd "$srcdir/RBLCLient-$pkgver"

	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
	make || return 1
}

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"