PKGBUILDs/community/perl-file-nfslock/PKGBUILD
2009-10-09 21:15:33 -05:00

24 lines
832 B
Bash

# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
# Maintainer: Chris Brannon <cmbrannon79@gmail.com>
# Contributor: François Charette <firmicus ατ gmx δοτ net>
pkgname=perl-file-nfslock
pkgver=1.20
pkgrel=6
pkgdesc="NFS compatible (safe) locking utility"
arch=('any')
url="http://search.cpan.org/dist/File-NFSLock"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/B/BB/BBB/File-NFSLock-$pkgver.tar.gz)
md5sums=('68bddc5e2c32d9748ae689f398fc1147')
build() {
cd $startdir/src/File-NFSLock-$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
}