[arch-commits] Commit in perl-file-remove/repos (2 files)
Florian Pritz
bluewind at archlinux.org
Thu Jun 1 09:18:41 UTC 2017
Date: Thursday, June 1, 2017 @ 09:18:41
Author: bluewind
Revision: 232068
archrelease: copy trunk to community-staging-any
Added:
perl-file-remove/repos/community-staging-any/
perl-file-remove/repos/community-staging-any/PKGBUILD
(from rev 232067, perl-file-remove/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: perl-file-remove/repos/community-staging-any/PKGBUILD (from rev 232067, perl-file-remove/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2017-06-01 09:18:41 UTC (rev 232068)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+# Contributor: Francois Charette <firmicus at gmx.net>
+
+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
+}
More information about the arch-commits
mailing list