PKGBUILDs/community/perl-parse-recdescent/PKGBUILD

25 lines
775 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
# Contributor: François Charette <firmicus ατ gmx δοτ net>
pkgname=perl-parse-recdescent
pkgver=1.962.2
pkgrel=1
pkgdesc="Recursive descent parser generator"
arch=(any)
url="http://search.cpan.org/dist/Parse-RecDescent"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/D/DC/DCONWAY/Parse-RecDescent-$pkgver.tar.gz)
md5sums=('9f84bf1a0519d31ae904339ebaa581d2')
build() {
cd $srcdir/Parse-RecDescent-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make install DESTDIR=$pkgdir || return 1
find $pkgdir -name '.packlist' -delete
find $pkgdir -name '*.pod' -delete
}