diff options
Diffstat (limited to 'user/perl-test-refcount/APKBUILD')
-rw-r--r-- | user/perl-test-refcount/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
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 <sheila@vulpine.house> +# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house> +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" |