diff options
-rw-r--r-- | testing/perl-snmp-info/APKBUILD | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/testing/perl-snmp-info/APKBUILD b/testing/perl-snmp-info/APKBUILD index 13a00611bd..ea2a31d478 100644 --- a/testing/perl-snmp-info/APKBUILD +++ b/testing/perl-snmp-info/APKBUILD @@ -4,17 +4,14 @@ pkgname=perl-snmp-info _pkgreal=SNMP-Info pkgver=3.38 -pkgrel=0 +pkgrel=1 pkgdesc="OO Interface to Network devices and MIBs through SNMP" -url="http://search.cpan.org/dist/SNMP-Info/" +url="https://metacpan.org/release/SNMP-Info" arch="noarch" -license="BSD" +license="BSD-3-Clause" cpandepends="net-snmp-perl" -cpanmakedepends="" -cpancheckdepends="" depends="$cpandepends" -makedepends="perl-dev perl-module-build $cpanmakedepends" -checkdepends="$cpancheckdepends" +makedepends="perl-dev perl-module-build" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/O/OL/OLIVER/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" @@ -22,25 +19,21 @@ builddir="$srcdir/$_pkgreal-$pkgver" prepare() { default_prepare - cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') perl Build.PL installdirs=vendor } build() { - cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') ./Build } package() { - cd "$builddir" ./Build install destdir="$pkgdir" find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } check() { - cd "$builddir" ./Build test } |