summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2018-09-26 01:16:07 -0700
committerDan Theisen <djt@hxx.in>2018-09-26 01:16:07 -0700
commit2bf43c7851604ab554f9068e0317816f0ef64d60 (patch)
treea24dd02f30aacbe8bedd3251763f1ad86cd83184 /user
parent989e88830a86ed99cd893445834ab3fe3ae2ca92 (diff)
downloadpackages-2bf43c7851604ab554f9068e0317816f0ef64d60.tar.gz
packages-2bf43c7851604ab554f9068e0317816f0ef64d60.tar.bz2
packages-2bf43c7851604ab554f9068e0317816f0ef64d60.tar.xz
packages-2bf43c7851604ab554f9068e0317816f0ef64d60.zip
user/perl-pegex: new package
Diffstat (limited to 'user')
-rw-r--r--user/perl-pegex/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-pegex/APKBUILD b/user/perl-pegex/APKBUILD
new file mode 100644
index 000000000..468e3d7a4
--- /dev/null
+++ b/user/perl-pegex/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Dan Theisen <djt@hxx.in>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-pegex
+pkgver=0.67
+pkgrel=0
+pkgdesc="Acmeist PEG Parser Framework"
+url="https://metacpan.org/pod/Pegex"
+arch="noarch"
+license="Artistic-1.0-Perl AND GPL-2.0"
+depends="perl"
+makedepends="perl-dev perl-file-sharedir-install"
+checkdepends="perl-yaml-libyaml"
+install=""
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/I/IN/INGY/Pegex-$pkgver.tar.gz"
+builddir="$srcdir/Pegex-$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="905e22e54bdf8050bc470a2184d8b2444f583cae82b450f2e94e00ff78441687636927bf814a8f1a1e35a4b6126a6b7270d43b3dd55d68718a8c709176412274 Pegex-0.67.tar.gz"