aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-08-25 00:48:44 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-08-25 01:03:30 -0300
commitbcc33ced4659e72daf17cddcfc09e4ed82094989 (patch)
treef2612ac84ae3cd243a4b8a17457632428a7cee1e
parentdf705b011d3e899e1a657c0ab217e1a096fa8957 (diff)
downloadaports-bcc33ced4659e72daf17cddcfc09e4ed82094989.tar.bz2
aports-bcc33ced4659e72daf17cddcfc09e4ed82094989.tar.xz
testing/perl-netaddr-mac: upgrade to 0.96
-rw-r--r--testing/perl-netaddr-mac/APKBUILD20
1 files changed, 7 insertions, 13 deletions
diff --git a/testing/perl-netaddr-mac/APKBUILD b/testing/perl-netaddr-mac/APKBUILD
index dbf42fe13f..b6c08770d1 100644
--- a/testing/perl-netaddr-mac/APKBUILD
+++ b/testing/perl-netaddr-mac/APKBUILD
@@ -3,46 +3,40 @@
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=perl-netaddr-mac
_pkgreal=NetAddr-MAC
-pkgver=0.95
+pkgver=0.96
pkgrel=0
pkgdesc="MAC address functions and object"
-url="http://search.cpan.org/dist/NetAddr-MAC/"
+url="https://metacpan.org/release/NetAddr-MAC"
arch="noarch"
-license="GPL PerlArtistic"
-cpandepends=""
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpanmakedepends="perl-test-trap"
-cpancheckdepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
checkdepends="$cpancheckdepends"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/D/DJ/DJZORT/$_pkgreal-$pkgver.tar.gz"
+source="https://cpan.metacpan.org/authors/id/D/DJ/DJZORT/NetAddr-MAC-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
- default_prepare || return 1
+ default_prepare
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make
}
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
check() {
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}
-sha512sums="130a56997eb8b702398412aac29cfcec91931922de7f5feb8978aa88679b61a83f45f37bb7c61070ef2b9fc3134de77c5e6d009d14bb859bec14460f63426f8d NetAddr-MAC-0.95.tar.gz"
+sha512sums="c2bd45cda42c9fe354354a8a2fb7ce3a528d49d0aaf48bb67059d047e139ed84118f8766f9c0c233296670584172e9ef6f0c34f7036845dbf5ec8d2fab119512 NetAddr-MAC-0.96.tar.gz"