From d88bfb70e13bd0c5b19a5709aafba3dac592855d Mon Sep 17 00:00:00 2001 From: Síle Ekaterin Liszka Date: Mon, 5 Dec 2022 18:02:59 +0000 Subject: system/perl-b-cow: new package --- system/perl-b-cow/APKBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 system/perl-b-cow/APKBUILD (limited to 'system/perl-b-cow/APKBUILD') 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 +# Maintainer: Síle Ekaterin Liszka +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" -- cgit v1.2.3-70-g09d2