From e89bbf9fe2339484153ef63f902fd61d7cbab037 Mon Sep 17 00:00:00 2001 From: Síle Ekaterin Liszka Date: Thu, 5 May 2022 17:11:09 +0000 Subject: user/perl-test-refcount: new package --- user/perl-test-refcount/APKBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 user/perl-test-refcount/APKBUILD diff --git a/user/perl-test-refcount/APKBUILD b/user/perl-test-refcount/APKBUILD new file mode 100644 index 000000000..3f7c0b510 --- /dev/null +++ b/user/perl-test-refcount/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Síle Ekaterin Liszka +# Maintainer: Síle Ekaterin Liszka +pkgname=perl-test-refcount +_pkgreal=Test-Refcount +_author=PEVANS +_au=${_author%%"${_author#??}"} +_a=${_author%%"${_author#?}"} +pkgver=0.10 +pkgrel=0 +pkgdesc="Test toolkit for asserting reference counts on objects" +url="https://metacpan.org/pod/Test::Refcount" +arch="noarch" +license="GPL-1.0+ OR Artistic-1.0-Perl" +depends="perl" +checkdepends="perl-test-fatal" +makedepends="perl-devel-mat 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="7fac2a6bcb96da0ed61c53aaa2278e1ac998bd62314b95f307fe6ee032fd7d89264968f3ad78066186b112af0ba45960d5d1c81822bcd5f218418ea81236c4e1 Test-Refcount-0.10.tar.gz" -- cgit v1.2.3-70-g09d2