diff options
Diffstat (limited to 'main/perl-net-rblclient/APKBUILD')
-rw-r--r-- | main/perl-net-rblclient/APKBUILD | 15 |
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() { |