diff options
author | Timo Teräs <timo.teras@iki.fi> | 2017-11-24 11:28:37 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-11-24 11:28:37 +0200 |
commit | 6d31d2e0083814abf5a013599566cd8e5e9e2a8c (patch) | |
tree | 8705ec8e0b24bb22aaf8b84c2ecd8f3151a21c57 /testing/perl-snmp-info | |
parent | 08d8b302c0d6a74620b0fd4bf36fa49fd92923a3 (diff) | |
download | aports-6d31d2e0083814abf5a013599566cd8e5e9e2a8c.tar.bz2 aports-6d31d2e0083814abf5a013599566cd8e5e9e2a8c.tar.xz |
testing/perl-snmp-info: upgrade to 3.38, modernize
Diffstat (limited to 'testing/perl-snmp-info')
-rw-r--r-- | testing/perl-snmp-info/APKBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/testing/perl-snmp-info/APKBUILD b/testing/perl-snmp-info/APKBUILD index e821d62513..dcc10bcb63 100644 --- a/testing/perl-snmp-info/APKBUILD +++ b/testing/perl-snmp-info/APKBUILD @@ -3,7 +3,7 @@ # Maintainer: Timo Teräs <timo.teras@iki.fi> pkgname=perl-snmp-info _pkgreal=SNMP-Info -pkgver=3.36 +pkgver=3.38 pkgrel=0 pkgdesc="OO Interface to Network devices and MIBs through SNMP" url="http://search.cpan.org/dist/SNMP-Info/" @@ -20,11 +20,11 @@ source="http://search.cpan.org/CPAN/authors/id/O/OL/OLIVER/$_pkgreal-$pkgver.tar builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - default_prepare || return 1 + default_prepare cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') - perl Build.PL installdirs=vendor || return 1 + perl Build.PL installdirs=vendor } build() { @@ -35,7 +35,7 @@ build() { package() { cd "$builddir" - ./Build install destdir="$pkgdir" || return 1 + ./Build install destdir="$pkgdir" find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } @@ -44,4 +44,4 @@ check() { ./Build test } -sha512sums="392eab1553075fbb07305a3ba6e4dc01f896d78a928d3058127ee336f1adf663af6c9cf125dffad47b2764b21d486cf33422b7ea0832a65e431aade4436b80af SNMP-Info-3.36.tar.gz" +sha512sums="b45fd76214f47975e2f0df86ce77fcf4b448fc9691f7f39b767d4ca72b312aa9708b4a10ed326364f8445c890e9a7143edafccb5e05eb084b48085f96e1d5efc SNMP-Info-3.38.tar.gz" |