new upstream version 0.16

add checks as well
This commit is contained in:
Cedric Girard 2015-11-24 11:19:31 +01:00
parent 5bf5166410
commit 7aa18bb0f0
2 changed files with 13 additions and 5 deletions

View file

@ -1,6 +1,8 @@
# Generated by mksrcinfo v8
# Tue Nov 24 10:19:27 UTC 2015
pkgbase = perl-net-ip-xs pkgbase = perl-net-ip-xs
pkgdesc = XS implementation of Net::IP pkgdesc = XS implementation of Net::IP
pkgver = 0.15 pkgver = 0.16
pkgrel = 1 pkgrel = 1
url = https://metacpan.org/release/Net-IP-XS url = https://metacpan.org/release/Net-IP-XS
arch = i686 arch = i686
@ -13,8 +15,8 @@ pkgbase = perl-net-ip-xs
depends = perl-ip-country depends = perl-ip-country
depends = perl-io-capture depends = perl-io-capture
options = !emptydirs options = !emptydirs
source = http://cpan.perl.org/modules/by-authors/id/T/TO/TOMHRR/Net-IP-XS-0.15.tar.gz source = http://cpan.perl.org/modules/by-authors/id/T/TO/TOMHRR/Net-IP-XS-0.16.tar.gz
md5sums = c54615bcfe14306b8e125529f93baefd md5sums = 01e9e5be15b2a643274aadbc1269cbfe
pkgname = perl-net-ip-xs pkgname = perl-net-ip-xs

View file

@ -2,7 +2,7 @@
_author=TOMHRR _author=TOMHRR
_perlmod=Net-IP-XS _perlmod=Net-IP-XS
pkgname=perl-net-ip-xs pkgname=perl-net-ip-xs
pkgver=0.15 pkgver=0.16
pkgrel=1 pkgrel=1
pkgdesc="XS implementation of Net::IP" pkgdesc="XS implementation of Net::IP"
arch=('i686' 'x86_64') 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') depends=('perl>=5.10.0' 'perl-tie-simple' 'perl-math-bigint' 'perl-ip-country' 'perl-io-capture')
options=(!emptydirs) options=(!emptydirs)
source=(http://cpan.perl.org/modules/by-authors/id/${_author:0:1}/${_author:0:2}/$_author/$_perlmod-$pkgver.tar.gz) 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() { build() {
cd "$srcdir/$_perlmod-$pkgver" cd "$srcdir/$_perlmod-$pkgver"
@ -22,6 +22,12 @@ build() {
} }
check() {
cd "$srcdir/$_perlmod-$pkgver"
make test
}
package() { package() {
cd "$srcdir/$_perlmod-$pkgver" cd "$srcdir/$_perlmod-$pkgver"
make install DESTDIR="$pkgdir/" make install DESTDIR="$pkgdir/"