summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2022-05-20 03:29:53 +0000
committerZach van Rijn <me@zv.io>2022-10-21 18:33:59 -0500
commit648b7868a423d47ad425c65a1873ff7bc20b2e98 (patch)
tree52d9dd67981abee79d06ec762747cbbec659eedf
parentfaf4c1d9635a425a6ff9047080a5dca62e5cb93d (diff)
downloadpackages-648b7868a423d47ad425c65a1873ff7bc20b2e98.tar.gz
packages-648b7868a423d47ad425c65a1873ff7bc20b2e98.tar.bz2
packages-648b7868a423d47ad425c65a1873ff7bc20b2e98.tar.xz
packages-648b7868a423d47ad425c65a1873ff7bc20b2e98.zip
user/perl-devel-cycle: new package
-rw-r--r--user/perl-devel-cycle/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-devel-cycle/APKBUILD b/user/perl-devel-cycle/APKBUILD
new file mode 100644
index 000000000..622e0380e
--- /dev/null
+++ b/user/perl-devel-cycle/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=perl-devel-cycle
+_pkgreal=Devel-Cycle
+_author=LDS
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
+pkgver=1.12
+pkgrel=0
+pkgdesc="Perl module for finding circular references in objects"
+url="https://metacpan.org/pod/Devel::Cycle"
+arch="noarch"
+license="Artistic-1.0-Perl OR GPL-1.0+"
+depends="perl"
+makedepends=""
+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="e2c83829905449d13c86233ad5bfce28e7b4eca61a8ac1e2f73e3c906a2d8580f66ae84d865ef876c38c2d25f0a5a8adeb05f6e94594274d8a5fa1739842d08d Devel-Cycle-1.12.tar.gz"