summaryrefslogtreecommitdiff
path: root/system/perl-b-cow
diff options
context:
space:
mode:
Diffstat (limited to 'system/perl-b-cow')
-rw-r--r--system/perl-b-cow/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/system/perl-b-cow/APKBUILD b/system/perl-b-cow/APKBUILD
new file mode 100644
index 000000000..f29300130
--- /dev/null
+++ b/system/perl-b-cow/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=perl-b-cow
+_pkgreal=B-COW
+_author=ATOOMIC
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
+pkgver=0.007
+pkgrel=0
+pkgdesc="additional B helpers to check COW status"
+url="https://metacpan.org/pod/B::COW"
+arch="all"
+license="GPL-1.0+ OR Artistic-1.0-Perl"
+depends="perl"
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+build() {
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ make test
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="889e5a57f679735f4f064bc59a7e4c1bec994cb123c83742a165e2ba62a17619e36659b3f0125b6dd6a15616da7100a9d04b66de293a8bf700847d294fe0a2c2 B-COW-0.007.tar.gz"