From 37206f14e542ab14fd94ec401884e89722cc7ae4 Mon Sep 17 00:00:00 2001 From: Dan Theisen Date: Wed, 26 Sep 2018 01:07:05 -0700 Subject: user/perl-file-copy-recursive: new package --- user/perl-file-copy-recursive/APKBUILD | 35 ++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 user/perl-file-copy-recursive/APKBUILD diff --git a/user/perl-file-copy-recursive/APKBUILD b/user/perl-file-copy-recursive/APKBUILD new file mode 100644 index 000000000..882a25d2f --- /dev/null +++ b/user/perl-file-copy-recursive/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Dan Theisen +# Maintainer: Adélie Perl Team +pkgname=perl-file-copy-recursive +pkgver=0.44 +pkgrel=0 +pkgdesc="Perl extension for recursively copying files and directories" +url="https://metacpan.org/pod/File::Copy::Recursive" +arch="noarch" +license="Artistic-1.0-Perl AND GPL-2.0" +depends="perl" +makedepends="perl-dev" +checkdepends="perl-test-fatal perl-test-warnings perl-path-tiny perl-test-deep perl-test-file" +install="" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/D/DM/DMUEY/File-Copy-Recursive-$pkgver.tar.gz" +builddir="$srcdir/File-Copy-Recursive-$pkgver" + +build() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="7599c48cee0b9848d5e275a1de00845cb2d4820eda9092d550063d4791974870129ce8d3d9337a8f7ea413ed4c21e533c2eb3134c2fcb5cc412dbbfddd2500e4 File-Copy-Recursive-0.44.tar.gz" -- cgit v1.2.3-70-g09d2