summaryrefslogtreecommitdiff
path: root/system/perl-clone
diff options
context:
space:
mode:
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"