new upstream version 0.16
add checks as well
This commit is contained in:
parent
5bf5166410
commit
7aa18bb0f0
2 changed files with 13 additions and 5 deletions
8
.SRCINFO
8
.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
|
||||
|
||||
|
|
10
PKGBUILD
10
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/"
|
||||
|
|
Loading…
Reference in a new issue