summaryrefslogtreecommitdiff
path: root/user/perl-syntax-keyword-match
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2022-05-05 17:09:08 +0000
committerZach van Rijn <me@zv.io>2022-10-21 18:33:59 -0500
commita835e44d8c894e29fb81c6d6581f47d6350d5217 (patch)
tree391f7dbdac9ba353052636497c30eabb8dae9bec /user/perl-syntax-keyword-match
parentea785ae731a0e39ba268ea103d5c5abdc7403e46 (diff)
downloadpackages-a835e44d8c894e29fb81c6d6581f47d6350d5217.tar.gz
packages-a835e44d8c894e29fb81c6d6581f47d6350d5217.tar.bz2
packages-a835e44d8c894e29fb81c6d6581f47d6350d5217.tar.xz
packages-a835e44d8c894e29fb81c6d6581f47d6350d5217.zip
user/perl-syntax-keyword-match: new package
Diffstat (limited to 'user/perl-syntax-keyword-match')
-rw-r--r--user/perl-syntax-keyword-match/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-syntax-keyword-match/APKBUILD b/user/perl-syntax-keyword-match/APKBUILD
new file mode 100644
index 000000000..24e7a3e91
--- /dev/null
+++ b/user/perl-syntax-keyword-match/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=perl-syntax-keyword-match
+_pkgreal=Syntax-Keyword-Match
+_author=PEVANS
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
+pkgver=0.09
+pkgrel=0
+pkgdesc="Perl support for match/case keywords"
+url="https://metacpan.org/pod/Syntax::Keyword::Match"
+arch="all"
+license="GPL-1.0+ OR Artistic-1.0-Perl"
+depends="perl"
+checkdepends=""
+makedepends="perl-dev perl-module-build perl-xs-parse-keyword"
+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="3373d671e4dfa8367b4f81f39e6f3642590d77f6ca2a80e98aff7aa9b5a08c8b392c4feee29f2d9adca292814de5673994dab967f25b4d43cddcbc356728197e Syntax-Keyword-Match-0.09.tar.gz"