summaryrefslogtreecommitdiffstats
path: root/main/perl-net-rblclient/APKBUILD
blob: 5d99fcc14f92f0732f0aa5c0b18eb423a18c27ba (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
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer:  Michael Mason <ms13sp@gmail.com>
pkgname=perl-net-rblclient
_realname=Net-RBLClient
pkgver=0.5
pkgrel=1
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
}

md5sums="1fb9961106cbb5a6eb2257762847e502  Net-RBLClient-0.5.tar.gz"