summaryrefslogtreecommitdiff
path: root/user/perl-xs-parse-sublike/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-xs-parse-sublike/APKBUILD')
-rw-r--r--user/perl-xs-parse-sublike/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-xs-parse-sublike/APKBUILD b/user/perl-xs-parse-sublike/APKBUILD
new file mode 100644
index 000000000..53883465c
--- /dev/null
+++ b/user/perl-xs-parse-sublike/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=perl-xs-parse-sublike
+_pkgreal=XS-Parse-Sublike
+_author=PEVANS
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
+pkgver=0.16
+pkgrel=0
+pkgdesc="XS functions to aid in parsing sub-like syntax"
+url="https://metacpan.org/pod/XS::Parse::Sublike"
+arch="all"
+license="GPL-1.0+ OR Artistic-1.0-Perl"
+depends="perl"
+checkdepends="perl-test-fatal"
+makedepends="perl-dev perl-extutils-cchecker perl-module-build"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+build() {
+ perl Build.PL --destdir="$pkgdir" --prefix="/usr" --installdirs="vendor"
+ ./Build
+}
+
+check() {
+ ./Build test
+}
+
+package() {
+ ./Build install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="66615f291b498e132fc3513a18ae7723ad19e7daa5ff1e455d467235d7078d9d546281af38f5aa55a757b1cc8835fbf1e52944f0e580e7f135a574d625ef6613 XS-Parse-Sublike-0.16.tar.gz"