summaryrefslogtreecommitdiff
path: root/user/perl-test2-tools-command
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2023-03-13 09:40:03 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2023-03-31 05:35:55 +0000
commit04e3e0808fbfd9058fb87baa7a2d25267300ff48 (patch)
tree2a4dbfcceda88e4a4517f8e3561e2d22434aa3ea /user/perl-test2-tools-command
parent4e221e704624eee2fe3247965f3033565fa2dd27 (diff)
downloadpackages-04e3e0808fbfd9058fb87baa7a2d25267300ff48.tar.gz
packages-04e3e0808fbfd9058fb87baa7a2d25267300ff48.tar.bz2
packages-04e3e0808fbfd9058fb87baa7a2d25267300ff48.tar.xz
packages-04e3e0808fbfd9058fb87baa7a2d25267300ff48.zip
user/perl-test2-tools-command: new package
Diffstat (limited to 'user/perl-test2-tools-command')
-rw-r--r--user/perl-test2-tools-command/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-test2-tools-command/APKBUILD b/user/perl-test2-tools-command/APKBUILD
new file mode 100644
index 000000000..8241a30ec
--- /dev/null
+++ b/user/perl-test2-tools-command/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=perl-test2-tools-command
+_pkgreal=Test2-Tools-Command
+_author=JMATES
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
+pkgver=0.20
+pkgrel=0
+pkgdesc="Perl module for testing commands"
+url="https://metacpan.org/pod/Test2::Tools::Command"
+arch="noarch"
+license="BSD-3-Clause"
+depends="perl perl-test2-suite perl-file-chdir"
+makedepends="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="8b7396521fb533e331cdcd97cce2a19808ce91339b900f1743a2179769729b30f23d54ec91babb1d9ea5be291a90687520ef434d5deaf7f9771ad7e80eef94a1 Test2-Tools-Command-0.20.tar.gz"