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-06-12 23:51:45 +0000
commit5fbb83df1e91d29ec23b5358b3c49d27f3e4870d (patch)
tree7f925804b389d02d03e6a1174afbf0f731e1d71f
parentde5a7bf9d22cd95ec73b80b0025d17ca94eb9910 (diff)
downloadpackages-5fbb83df1e91d29ec23b5358b3c49d27f3e4870d.tar.gz
packages-5fbb83df1e91d29ec23b5358b3c49d27f3e4870d.tar.bz2
packages-5fbb83df1e91d29ec23b5358b3c49d27f3e4870d.tar.xz
packages-5fbb83df1e91d29ec23b5358b3c49d27f3e4870d.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"