From 5836e60f64b3d8ae5a633c0d8be898b210a9fafe Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Fri, 26 Aug 2016 14:32:29 +0000 Subject: community/perl-file-remove: moved from unmaintained --- community/perl-file-remove/APKBUILD | 40 +++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 community/perl-file-remove/APKBUILD (limited to 'community/perl-file-remove') diff --git a/community/perl-file-remove/APKBUILD b/community/perl-file-remove/APKBUILD new file mode 100644 index 0000000000..17cbaf034c --- /dev/null +++ b/community/perl-file-remove/APKBUILD @@ -0,0 +1,40 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Maintainer: Francesco Colista +pkgname=perl-file-remove +_pkgreal=File-Remove +pkgver=1.57 +pkgrel=0 +pkgdesc="Remove files and directories" +url="http://search.cpan.org/dist/File-Remove/" +arch="noarch" +license="GPL PerlArtistic" +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 && make test +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="fe7da64339206d6568037209a577724f File-Remove-1.57.tar.gz" +sha256sums="b3becd60165c38786d18285f770b8b06ebffe91797d8c00cc4730614382501ad File-Remove-1.57.tar.gz" +sha512sums="dec41e9ffaabe953e72386fa0f5112fe6ebaac0fdf6752256749162d505aaf17b905500fcf52d0cb2ef944788b8e13cb3b2cf37be8671a47aab9081e228bc92e File-Remove-1.57.tar.gz" -- cgit v1.2.3