summaryrefslogtreecommitdiff
path: root/user/perl-xs-parse-sublike
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2022-05-04 20:27:23 +0000
committerZach van Rijn <me@zv.io>2022-06-12 23:51:41 +0000
commitd5e1f435a3a15fe30c2a089b196abd76a5d0b1b2 (patch)
treefa5cafd433465bdb0508249f4f8a059bc2c5f474 /user/perl-xs-parse-sublike
parentf7e06cac66151ed53fa326963f725e48f95d3f29 (diff)
downloadpackages-d5e1f435a3a15fe30c2a089b196abd76a5d0b1b2.tar.gz
packages-d5e1f435a3a15fe30c2a089b196abd76a5d0b1b2.tar.bz2
packages-d5e1f435a3a15fe30c2a089b196abd76a5d0b1b2.tar.xz
packages-d5e1f435a3a15fe30c2a089b196abd76a5d0b1b2.zip
user/perl-xs-parse-sublike: new package
Diffstat (limited to 'user/perl-xs-parse-sublike')
-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"