diff options
author | Dan Theisen <djt@hxx.in> | 2018-09-26 01:19:23 -0700 |
---|---|---|
committer | Dan Theisen <djt@hxx.in> | 2018-09-26 01:19:23 -0700 |
commit | 8050c93e6c88718013d703925d33737d196470a4 (patch) | |
tree | 4c41ebdd56235fdfb53b8f455216c6a855b2c489 | |
parent | 2bf43c7851604ab554f9068e0317816f0ef64d60 (diff) | |
download | packages-8050c93e6c88718013d703925d33737d196470a4.tar.gz packages-8050c93e6c88718013d703925d33737d196470a4.tar.bz2 packages-8050c93e6c88718013d703925d33737d196470a4.tar.xz packages-8050c93e6c88718013d703925d33737d196470a4.zip |
user/perl-parse-recdescent: new package
-rw-r--r-- | user/perl-parse-recdescent/APKBUILD | 35 |
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" |