summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2022-05-04 20:39:59 +0000
committerZach van Rijn <me@zv.io>2022-06-12 23:51:41 +0000
commit5e4ffcd76ba96da1d7b0d0283e48325b6421f114 (patch)
tree966fc80fbd7ffc9b39f69a0269b28a996f774b04 /user
parentd5e1f435a3a15fe30c2a089b196abd76a5d0b1b2 (diff)
downloadpackages-5e4ffcd76ba96da1d7b0d0283e48325b6421f114.tar.gz
packages-5e4ffcd76ba96da1d7b0d0283e48325b6421f114.tar.bz2
packages-5e4ffcd76ba96da1d7b0d0283e48325b6421f114.tar.xz
packages-5e4ffcd76ba96da1d7b0d0283e48325b6421f114.zip
user/perl-commandable: new package
Diffstat (limited to 'user')
-rw-r--r--user/perl-commandable/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-commandable/APKBUILD b/user/perl-commandable/APKBUILD
new file mode 100644
index 000000000..571e4a3a7
--- /dev/null
+++ b/user/perl-commandable/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=perl-commandable
+_pkgreal=Commandable
+_author=PEVANS
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
+pkgver=0.07
+pkgrel=0
+pkgdesc="Represents one invocation of a CLI command"
+url="https://metacpan.org/pod/Commandable"
+arch="all"
+license="GPL-1.0+ OR Artistic-1.0-Perl"
+depends="perl"
+checkdepends="perl-test-fatal perl-test-warnings"
+makedepends="perl-module-build perl-module-pluggable"
+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="5003a9b5289aa50d68d5e9b2673e54400da60b98a8570fa3b414c67f34aff1e14edff6e4030e52aaf833113a290d3fdd5e8b06ee0e6552bb623142557ca6d583 Commandable-0.07.tar.gz"