summaryrefslogtreecommitdiffstats
path: root/main/perl-getopt-long/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/perl-getopt-long/APKBUILD')
-rw-r--r--main/perl-getopt-long/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/perl-getopt-long/APKBUILD b/main/perl-getopt-long/APKBUILD
index a5e11726b91..26a70a0b72c 100644
--- a/main/perl-getopt-long/APKBUILD
+++ b/main/perl-getopt-long/APKBUILD
@@ -3,10 +3,10 @@
pkgname=perl-getopt-long
_realname=Getopt-Long
pkgver=2.38
-pkgrel=0
+pkgrel=1
pkgdesc="Extended processing of command line options"
url="http://search.cpan.org/~jv/Getopt-Long-2.38/"
-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