aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-net-rblclient
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-12-25 10:51:17 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-12-25 10:51:17 +0000
commitd2870ad13cd10409f90b4d65594350374632e011 (patch)
treeec0c9a3e1de48e1637268d633e789bc6498157be /main/perl-net-rblclient
parent7c3dcfd5450d7d57e495a57dd6673fc41924440c (diff)
downloadaports-d2870ad13cd10409f90b4d65594350374632e011.tar.bz2
aports-d2870ad13cd10409f90b4d65594350374632e011.tar.xz
main/perl-net-rblclient
Diffstat (limited to 'main/perl-net-rblclient')
-rw-r--r--main/perl-net-rblclient/APKBUILD15
1 files changed, 10 insertions, 5 deletions
diff --git a/main/perl-net-rblclient/APKBUILD b/main/perl-net-rblclient/APKBUILD
index 0d1b162b64..bd4ad8578e 100644
--- a/main/perl-net-rblclient/APKBUILD
+++ b/main/perl-net-rblclient/APKBUILD
@@ -3,22 +3,27 @@
pkgname=perl-net-rblclient
_realname=Net-RBLClient
pkgver=0.5
-pkgrel=2
+pkgrel=3
pkgdesc="Queries multiple Realtime Blackhole Lists in parallel"
url="http://search.cpan.org/dist/Net-RBLClient/"
arch="noarch"
-license="unknown"
+license="Artistic GPL2"
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 "$srcdir/RBLCLient-$pkgver"
+ cd "$builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
- make || return 1
+check() {
+ cd "$builddir"
+ make test
}
package() {