summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-05-31 16:01:29 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-05-31 16:01:29 (GMT)
commit418cfa62b30786a2e3264973a68d47c8e3a5aa54 (patch)
tree1ccc096ff1c682ead8d92388c94e231210070bec
parentefe7b4107ba1a750e60545618afe090057765bfd (diff)
downloadlinhes_pkgbuild-418cfa62b30786a2e3264973a68d47c8e3a5aa54.zip
linhes_pkgbuild-418cfa62b30786a2e3264973a68d47c8e3a5aa54.tar.gz
linhes_pkgbuild-418cfa62b30786a2e3264973a68d47c8e3a5aa54.tar.bz2
perl-parse-recdescent: update to 1.9670
-rw-r--r--abs/core/perl_modules/perl-parse-recdescent/PKGBUILD26
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
}
-