# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman # Maintainer: Chris Brannon # Contributor: François Charette 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 }