diff options
Diffstat (limited to 'abs')
-rw-r--r-- | abs/core/perl_modules/perl-parse-recdescent/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/abs/core/perl_modules/perl-parse-recdescent/PKGBUILD b/abs/core/perl_modules/perl-parse-recdescent/PKGBUILD new file mode 100644 index 0000000..ab2ae40 --- /dev/null +++ b/abs/core/perl_modules/perl-parse-recdescent/PKGBUILD @@ -0,0 +1,29 @@ +# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman +# Contributor: François Charette <firmicus ατ gmx δοτ net> + +pkgname=perl-parse-recdescent +pkgver=1.965001 +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') +LC_NUMERIC=C +provides=("perl-parse-recdescent=`printf %.6f ${pkgver}`") +source=(http://www.cpan.org/authors/id/D/DC/DCONWAY/Parse-RecDescent-$pkgver.tar.gz) +md5sums=('e91351ad179a3843fbe8e521b135acaf') + +build() { + cd $srcdir/Parse-RecDescent-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 + make || return 1 +} +package() { + cd $srcdir/Parse-RecDescent-$pkgver + make install DESTDIR=$pkgdir || return 1 + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} + |