diff options
author | Síle Ekaterin Liszka <sheila@vulpine.house> | 2022-12-05 18:02:59 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2023-02-08 16:26:05 +0000 |
commit | d88bfb70e13bd0c5b19a5709aafba3dac592855d (patch) | |
tree | 09d1b0e2d351930fcde7f65c12e0963b457a4531 /system/perl-b-cow | |
parent | dc2355b531e59cf18b7f2f9f56fecb6d60a3a886 (diff) | |
download | packages-d88bfb70e13bd0c5b19a5709aafba3dac592855d.tar.gz packages-d88bfb70e13bd0c5b19a5709aafba3dac592855d.tar.bz2 packages-d88bfb70e13bd0c5b19a5709aafba3dac592855d.tar.xz packages-d88bfb70e13bd0c5b19a5709aafba3dac592855d.zip |
system/perl-b-cow: new package
Diffstat (limited to 'system/perl-b-cow')
-rw-r--r-- | system/perl-b-cow/APKBUILD | 34 |
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" |