diff options
author | Dan Theisen <djt@hxx.in> | 2018-09-25 19:12:47 -0700 |
---|---|---|
committer | Dan Theisen <djt@hxx.in> | 2018-09-25 19:12:47 -0700 |
commit | 5750f059274d1ae12f20bf4893687d7a37df25cc (patch) | |
tree | bae507dcf77a823cde76da5370272f63cde33038 | |
parent | 3682e9e7d7dd68bd1f680a5ebe0cb3bebb33b47c (diff) | |
download | packages-5750f059274d1ae12f20bf4893687d7a37df25cc.tar.gz packages-5750f059274d1ae12f20bf4893687d7a37df25cc.tar.bz2 packages-5750f059274d1ae12f20bf4893687d7a37df25cc.tar.xz packages-5750f059274d1ae12f20bf4893687d7a37df25cc.zip |
user/perl-file-copy-recursive-reduced: new package
-rw-r--r-- | user/perl-file-copy-recursive-reduced/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-file-copy-recursive-reduced/APKBUILD b/user/perl-file-copy-recursive-reduced/APKBUILD new file mode 100644 index 000000000..76e66d192 --- /dev/null +++ b/user/perl-file-copy-recursive-reduced/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Dan Theisen <djt@hxx.in> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-file-copy-recursive-reduced +pkgver=0.006 +pkgrel=0 +pkgdesc="Recursive copying of files and directories within Perl 5 toolchain" +url="https://metacpan.org/pod/File::Copy::Recursive::Reduced" +arch="noarch" +license="Artistic-1.0-Perl AND GPL-2.0" +depends="perl" +makedepends="perl-dev" +checkdepends="perl-capture-tiny perl-path-tiny" +install="" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/J/JK/JKEENAN/File-Copy-Recursive-Reduced-$pkgver.tar.gz" +builddir="$srcdir/File-Copy-Recursive-Reduced-$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="7cf888b8c004d9430c87c1cceba25e997cb12974a79c3f4d803b11779abef81f5b686caac4c46a70caadb2eee12a71cb1fb87abfc7d5fec43dc37bbd2ef07694 File-Copy-Recursive-Reduced-0.006.tar.gz" |