diff options
Diffstat (limited to 'abs/core')
-rw-r--r-- | abs/core/perl_modules/perl-parse-yapp/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/abs/core/perl_modules/perl-parse-yapp/PKGBUILD b/abs/core/perl_modules/perl-parse-yapp/PKGBUILD new file mode 100644 index 0000000..aceae90 --- /dev/null +++ b/abs/core/perl_modules/perl-parse-yapp/PKGBUILD @@ -0,0 +1,27 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Charles Mauch <cmauch@gmail.com> + +pkgname=perl-parse-yapp +pkgver=1.05 +pkgrel=8 +pkgdesc="Perl/CPAN Module Parse::Yapp : Generates OO LALR parser modules" +arch=("any") +url="http://search.cpan.org/dist/Parse-Yapp" +license=("GPL" "PerlArtistic") +depends=('perl') +source=("https://www.cpan.org/authors/id/F/FD/FDESAR/Parse-Yapp-$pkgver.tar.gz") +sha256sums=('228a6cfb483ade811720bb77647900ef359dfc3e071359eb73d39e4a1cc6f22b') + +build() { + cd "$srcdir"/Parse-Yapp-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "$srcdir"/Parse-Yapp-$pkgver + make install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete +} |