From 191107d09da8932cb3d9a1ccfd97de0b1e475d8d Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 26 Jun 2018 05:58:22 -0500 Subject: system/perl-file-remove: pull in for perl-module-install --- system/perl-file-remove/APKBUILD | 43 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 system/perl-file-remove/APKBUILD diff --git a/system/perl-file-remove/APKBUILD b/system/perl-file-remove/APKBUILD new file mode 100644 index 000000000..bed356f5e --- /dev/null +++ b/system/perl-file-remove/APKBUILD @@ -0,0 +1,43 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista +# Maintainer: Adélie Perl Team +pkgname=perl-file-remove +_pkgreal=File-Remove +pkgver=1.57 +pkgrel=1 +pkgdesc="Remove files and directories" +url="http://search.cpan.org/dist/File-Remove/" +arch="noarch" +license="GPL-2.0-only OR Artistic-1.0-Perl" +cpandepends="" +cpanmakedepends="" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/$_pkgreal-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor +} + +build() { + cd "$builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="dec41e9ffaabe953e72386fa0f5112fe6ebaac0fdf6752256749162d505aaf17b905500fcf52d0cb2ef944788b8e13cb3b2cf37be8671a47aab9081e228bc92e File-Remove-1.57.tar.gz" -- cgit v1.2.3-70-g09d2