diff options
Diffstat (limited to 'abs/core')
-rw-r--r-- | abs/core/perl_modules/perl-parse-recdescent/PKGBUILD | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/abs/core/perl_modules/perl-parse-recdescent/PKGBUILD b/abs/core/perl_modules/perl-parse-recdescent/PKGBUILD index ab2ae40..386339d 100644 --- a/abs/core/perl_modules/perl-parse-recdescent/PKGBUILD +++ b/abs/core/perl_modules/perl-parse-recdescent/PKGBUILD @@ -1,29 +1,31 @@ -# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: François Charette <firmicus ατ gmx δοτ net> pkgname=perl-parse-recdescent -pkgver=1.965001 +pkgver=1.967015 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') +makedepends=('perl-module-build') 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') +source=(http://search.cpan.org/CPAN/authors/id/J/JT/JTBRAUN/Parse-RecDescent-$pkgver.tar.gz) +sha256sums=('1943336a4cb54f1788a733f0827c0c55db4310d5eae15e542639c9dd85656e37') build() { - cd $srcdir/Parse-RecDescent-$pkgver - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 + cd "$srcdir"/Parse-RecDescent-$pkgver + perl Build.PL installdirs=vendor destdir="$pkgdir/" + perl Build } + package() { - cd $srcdir/Parse-RecDescent-$pkgver - make install DESTDIR=$pkgdir || return 1 - find $pkgdir -name '.packlist' -delete - find $pkgdir -name '*.pod' -delete + cd "$srcdir"/Parse-RecDescent-$pkgver + perl Build install + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete } - |