summaryrefslogtreecommitdiff
path: root/user/perl-xs-parse-keyword
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2022-05-04 20:19:36 +0000
committerZach van Rijn <me@zv.io>2022-06-12 23:51:41 +0000
commitf7e06cac66151ed53fa326963f725e48f95d3f29 (patch)
tree5b800580205d8ce2dea20c7c21b3d6307f3b01e9 /user/perl-xs-parse-keyword
parent12f6d9dfb14c663f13ee39c2d0215fbb4cf5b167 (diff)
downloadpackages-f7e06cac66151ed53fa326963f725e48f95d3f29.tar.gz
packages-f7e06cac66151ed53fa326963f725e48f95d3f29.tar.bz2
packages-f7e06cac66151ed53fa326963f725e48f95d3f29.tar.xz
packages-f7e06cac66151ed53fa326963f725e48f95d3f29.zip
user/perl-xs-parse-keyword: new package
Diffstat (limited to 'user/perl-xs-parse-keyword')
-rw-r--r--user/perl-xs-parse-keyword/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-xs-parse-keyword/APKBUILD b/user/perl-xs-parse-keyword/APKBUILD
new file mode 100644
index 000000000..cd988d78e
--- /dev/null
+++ b/user/perl-xs-parse-keyword/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=perl-xs-parse-keyword
+_pkgreal=XS-Parse-Keyword
+_author=PEVANS
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
+pkgver=0.22
+pkgrel=0
+pkgdesc="XS functions to aid in parsing keywords"
+url="https://metacpan.org/pod/XS::Parse::Keyword"
+arch="all"
+license="GPL-1.0+ OR Artistic-1.0-Perl"
+depends="perl"
+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="04124d5d870f35b087d2fa45b5aeb0cde5cd58dadc7732a015034c2d8151ad0a25ffbb7bd6a75a6613cc6c0ba9886011c11627d88334e00c443589221c0b8535 XS-Parse-Keyword-0.22.tar.gz"