From 7e52c143a2e30074dad34d34a913876eea22f896 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Tue, 29 May 2018 22:58:09 +0000 Subject: perl-file-remove: update to 1.57 --- abs/core/perl_modules/perl-file-remove/PKGBUILD | 29 +++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 abs/core/perl_modules/perl-file-remove/PKGBUILD diff --git a/abs/core/perl_modules/perl-file-remove/PKGBUILD b/abs/core/perl_modules/perl-file-remove/PKGBUILD new file mode 100644 index 0000000..c5669eb --- /dev/null +++ b/abs/core/perl_modules/perl-file-remove/PKGBUILD @@ -0,0 +1,29 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Maintainer: Charles Mauch +# Contributor: Francois Charette + +pkgname=perl-file-remove +pkgver=1.57 +pkgrel=2 +pkgdesc="Remove files and directories" +depends=('perl') +arch=('any') +url="http://search.cpan.org/dist/File-Remove" +license=('GPL' 'PerlArtistic') +options=('!emptydirs') +source=(http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/File-Remove-$pkgver.tar.gz) +md5sums=('fe7da64339206d6568037209a577724f') + +build() { + cd "$srcdir"/File-Remove-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "$srcdir"/File-Remove-$pkgver + make install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete +} -- cgit v0.12