summaryrefslogtreecommitdiff
path: root/system/perl-clone
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2022-12-05 18:04:08 +0000
committerZach van Rijn <me@zv.io>2023-02-08 16:26:05 +0000
commit6b4cb134c0117b2771d4388ee2ce521a8ff2385a (patch)
treef3fb7e17ff7c1f190ec81c45cd259e76d51df579 /system/perl-clone
parentd88bfb70e13bd0c5b19a5709aafba3dac592855d (diff)
downloadpackages-6b4cb134c0117b2771d4388ee2ce521a8ff2385a.tar.gz
packages-6b4cb134c0117b2771d4388ee2ce521a8ff2385a.tar.bz2
packages-6b4cb134c0117b2771d4388ee2ce521a8ff2385a.tar.xz
packages-6b4cb134c0117b2771d4388ee2ce521a8ff2385a.zip
system/perl-clone: new package
Diffstat (limited to 'system/perl-clone')
-rw-r--r--system/perl-clone/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/system/perl-clone/APKBUILD b/system/perl-clone/APKBUILD
new file mode 100644
index 000000000..f2eb324b3
--- /dev/null
+++ b/system/perl-clone/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=perl-clone
+_pkgreal=Clone
+_author=GARU
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
+pkgver=0.46
+pkgrel=0
+pkgdesc="recursively copy Perl datatypes"
+url="https://metacpan.org/pod/Clone"
+arch="all"
+license="GPL-1.0+ or Artistic-1.0-Perl"
+depends="perl"
+checkdepends="perl-b-cow"
+makedepends="perl-dev"
+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="f8bb1010364e94c7cc8bba25681cd9fd737ec2935a8be960ac53099359729fc679190a115dd082fccd239b35762dee2b3be3adbddce37e4ceae6fe934fbad545 Clone-0.46.tar.gz"