summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2022-05-05 17:11:09 +0000
committerZach van Rijn <me@zv.io>2022-10-21 18:33:59 -0500
commite89bbf9fe2339484153ef63f902fd61d7cbab037 (patch)
treea2dec431cf5edbd35a6abf2e8f0651c90f9bd659
parent89c66ab8c4a29e7c50fd9bd70f93b965bc63de9c (diff)
downloadpackages-e89bbf9fe2339484153ef63f902fd61d7cbab037.tar.gz
packages-e89bbf9fe2339484153ef63f902fd61d7cbab037.tar.bz2
packages-e89bbf9fe2339484153ef63f902fd61d7cbab037.tar.xz
packages-e89bbf9fe2339484153ef63f902fd61d7cbab037.zip
user/perl-test-refcount: new package
-rw-r--r--user/perl-test-refcount/APKBUILD35
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"