mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
25 lines
837 B
Bash
25 lines
837 B
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
# Maintainer: Charles Mauch <cmauch@gmail.com>
|
|
# Contributor: Francois Charette <firmicus@gmx.net>
|
|
|
|
pkgname=perl-file-remove
|
|
pkgver=1.42
|
|
pkgrel=1
|
|
pkgdesc="Remove files and directories"
|
|
depends=('perl')
|
|
arch=('i686' 'x86_64')
|
|
url="http://search.cpan.org/dist/File-Remove"
|
|
license=('GPL' 'PerlArtistic')
|
|
options=('!emptydirs')
|
|
source=(http://www.cpan.org/authors/id/A/AD/ADAMK/File-Remove-$pkgver.tar.gz)
|
|
md5sums=('7eef25044fc3cc60b6faf0522f865ed5')
|
|
|
|
build() {
|
|
cd $startdir/src/File-Remove-$pkgver
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
|
|
make || return 1
|
|
make install DESTDIR=$startdir/pkg || return 1
|
|
find $startdir/pkg -name '.packlist' -delete
|
|
find $startdir/pkg -name '*.pod' -delete
|
|
}
|