summaryrefslogtreecommitdiff
path: root/user/perl-parse-recdescent
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-parse-recdescent')
-rw-r--r--user/perl-parse-recdescent/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-parse-recdescent/APKBUILD b/user/perl-parse-recdescent/APKBUILD
new file mode 100644
index 000000000..7e9bd3ebd
--- /dev/null
+++ b/user/perl-parse-recdescent/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Dan Theisen <djt@hxx.in>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-parse-recdescent
+pkgver=1.967015
+pkgrel=0
+pkgdesc="Generate Recursive-Descent Parsers"
+url="https://metacpan.org/pod/Parse::RecDescent"
+arch="noarch"
+license="Artistic-1.0-Perl AND GPL-2.0"
+depends="perl"
+makedepends="perl-dev"
+checkdepends="perl-test-warn perl-test-pod"
+install=""
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/J/JT/JTBRAUN/Parse-RecDescent-$pkgver.tar.gz"
+builddir="$srcdir/Parse-RecDescent-$pkgver"
+
+build() {
+ cd "$builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "$builddir"
+ make test
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="38adbfc9a88f09d0465d862b845f48c0921ce462ffccaa7ce8b5f1b7090f33f70e7f00f9ee787fd698b5539804412c44f03e7942cf675d53a17a84c3510e5aa4 Parse-RecDescent-1.967015.tar.gz"