aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-net-ip/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/perl-net-ip/APKBUILD')
-rw-r--r--main/perl-net-ip/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/perl-net-ip/APKBUILD b/main/perl-net-ip/APKBUILD
index fa9e55f8bb..cc513bba2d 100644
--- a/main/perl-net-ip/APKBUILD
+++ b/main/perl-net-ip/APKBUILD
@@ -3,10 +3,10 @@
pkgname=perl-net-ip
_realname=Net-IP
pkgver=1.25
-pkgrel=0
+pkgrel=1
pkgdesc="Perl extension for manipulating IPv4/IPv6 addresses"
url="http://search.cpan.org/~manu/Net-IP-1.25/"
-arch="x86 x86_64"
+arch="noarch"
license="Unknown"
depends="perl"
makedepends="perl-dev"
@@ -19,6 +19,10 @@ build() {
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
+}
+
+package() {
+ cd "$srcdir/$_realname-$pkgver"
make DESTDIR="$pkgdir" install
# creates file collision among perl modules
find "$pkgdir" -name perllocal.pod -delete