aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-net-ipv4addr/APKBUILD
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-09-03 13:17:38 +0200
committerJakub Jirutka <jakub@jirutka.cz>2016-09-03 13:17:38 +0200
commitc933ec96325ecf8933f114752dd6cd861d01b1ce (patch)
tree09b3e027ce3d47523fb62bdf2dc2641108807fe9 /community/perl-net-ipv4addr/APKBUILD
parent13f137009301601aa754889040f6619ae8187c5c (diff)
downloadaports-c933ec96325ecf8933f114752dd6cd861d01b1ce.tar.bz2
aports-c933ec96325ecf8933f114752dd6cd861d01b1ce.tar.xz
community/perl-net-ipv4addr: improve abuild
Diffstat (limited to 'community/perl-net-ipv4addr/APKBUILD')
-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
}