diff --git a/.SRCINFO b/.SRCINFO index 831bd97..6b356d1 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,8 @@ +# Generated by mksrcinfo v8 +# Tue Nov 24 10:19:27 UTC 2015 pkgbase = perl-net-ip-xs pkgdesc = XS implementation of Net::IP - pkgver = 0.15 + pkgver = 0.16 pkgrel = 1 url = https://metacpan.org/release/Net-IP-XS arch = i686 @@ -13,8 +15,8 @@ pkgbase = perl-net-ip-xs depends = perl-ip-country depends = perl-io-capture options = !emptydirs - source = http://cpan.perl.org/modules/by-authors/id/T/TO/TOMHRR/Net-IP-XS-0.15.tar.gz - md5sums = c54615bcfe14306b8e125529f93baefd + source = http://cpan.perl.org/modules/by-authors/id/T/TO/TOMHRR/Net-IP-XS-0.16.tar.gz + md5sums = 01e9e5be15b2a643274aadbc1269cbfe pkgname = perl-net-ip-xs diff --git a/PKGBUILD b/PKGBUILD index 40c5820..1fca1d1 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ _author=TOMHRR _perlmod=Net-IP-XS pkgname=perl-net-ip-xs -pkgver=0.15 +pkgver=0.16 pkgrel=1 pkgdesc="XS implementation of Net::IP" arch=('i686' 'x86_64') @@ -11,7 +11,7 @@ license=('GPL' 'PerlArtistic') depends=('perl>=5.10.0' 'perl-tie-simple' 'perl-math-bigint' 'perl-ip-country' 'perl-io-capture') options=(!emptydirs) source=(http://cpan.perl.org/modules/by-authors/id/${_author:0:1}/${_author:0:2}/$_author/$_perlmod-$pkgver.tar.gz) -md5sums=('c54615bcfe14306b8e125529f93baefd') +md5sums=('01e9e5be15b2a643274aadbc1269cbfe') build() { cd "$srcdir/$_perlmod-$pkgver" @@ -22,6 +22,12 @@ build() { } +check() { + cd "$srcdir/$_perlmod-$pkgver" + make test + +} + package() { cd "$srcdir/$_perlmod-$pkgver" make install DESTDIR="$pkgdir/"