aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-parse-recdescent
diff options
context:
space:
mode:
Diffstat (limited to 'main/perl-parse-recdescent')
-rw-r--r--main/perl-parse-recdescent/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/perl-parse-recdescent/APKBUILD b/main/perl-parse-recdescent/APKBUILD
index e9931e70e7..8fea23c165 100644
--- a/main/perl-parse-recdescent/APKBUILD
+++ b/main/perl-parse-recdescent/APKBUILD
@@ -3,10 +3,10 @@
pkgname=perl-parse-recdescent
_realname=Parse-RecDescent
pkgver=1.96.0
-pkgrel=0
+pkgrel=1
pkgdesc="Generate Recursive-Descent Parsers"
url="http://search.cpan.org/~dconway/Parse-RecDescent-1.96.0/"
-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