aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-net-ipv4addr
diff options
context:
space:
mode:
Diffstat (limited to 'community/perl-net-ipv4addr')
-rw-r--r--community/perl-net-ipv4addr/APKBUILD8
1 files changed, 3 insertions, 5 deletions
diff --git a/community/perl-net-ipv4addr/APKBUILD b/community/perl-net-ipv4addr/APKBUILD
index 76ebc5af15..c61e852115 100644
--- a/community/perl-net-ipv4addr/APKBUILD
+++ b/community/perl-net-ipv4addr/APKBUILD
@@ -9,21 +9,19 @@ url="http://search.cpan.org/~frajulac/Net-IPv4Addr/"
arch="noarch"
license="PerlArtistic"
depends="perl "
-depends_dev=""
makedepends="perl-dev"
-install=""
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/F/FR/FRAJULAC/$_realname-$pkgver.tar.gz"
-_builddir="$srcdir"/$_realname-$pkgver
+builddir="$srcdir/$_realname-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}