summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2022-05-05 00:05:49 +0000
committerZach van Rijn <me@zv.io>2022-10-21 18:33:58 -0500
commitd3a5fef3b6e996f6065af78147ae471d14ecf20b (patch)
tree319fc92d40777a50e4fcc0a34a8166af06a99c79 /user
parent5b16a28e29f1d18bb1b3a960b89648396aabce84 (diff)
downloadpackages-d3a5fef3b6e996f6065af78147ae471d14ecf20b.tar.gz
packages-d3a5fef3b6e996f6065af78147ae471d14ecf20b.tar.bz2
packages-d3a5fef3b6e996f6065af78147ae471d14ecf20b.tar.xz
packages-d3a5fef3b6e996f6065af78147ae471d14ecf20b.zip
user/perl-feature-compat-try: new package
Diffstat (limited to 'user')
-rw-r--r--user/perl-feature-compat-try/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-feature-compat-try/APKBUILD b/user/perl-feature-compat-try/APKBUILD
new file mode 100644
index 000000000..9bb0f233b
--- /dev/null
+++ b/user/perl-feature-compat-try/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=perl-feature-compat-try
+_pkgreal=Feature-Compat-Try
+_author=PEVANS
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
+pkgver=0.05
+pkgrel=0
+pkgdesc="An implementation of try/catch for Perl"
+url="https://metacpan.org/pod/Feature::Compat::Try"
+arch="noarch"
+license="GPL-1.0+ OR Artistic-1.0-Perl"
+depends="perl"
+checkdepends="perl-xs-parse-keyword"
+makedepends="perl-module-build perl-syntax-keyword-try"
+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="bf2c87bc29509e902ea4e27a22162efc58e93452a06483a19e17b70ee6db3e2407494209708dc84f2ef9080a91c374870de100cc42038683a4ae7891b07ab683 Feature-Compat-Try-0.05.tar.gz"