PKGBUILDs/community/perl-parse-yapp/PKGBUILD
2009-10-09 21:15:33 -05:00

21 lines
745 B
Bash

# This PKGBUILD was autocreated. See http://xtermin.us/archperl/ for details
# Maintainer: Charles Mauch <cmauch@gmail.com>
pkgname=perl-parse-yapp
pkgver=1.05
pkgrel=3
pkgdesc="Perl/CPAN Module Parse::Yapp : Generates OO LALR parser modules"
arch=("i686" "x86_64")
url="http://search.cpan.org/dist/Parse-Yapp"
license=("GPL" "PerlArtistic")
source=("http://www.cpan.org/authors/id/F/FD/FDESAR/Parse-Yapp-1.05.tar.gz")
md5sums=('7bfca736d6af36c51edf7a97111a8f3b')
build() {
cd $startdir/src/Parse-Yapp-1.05
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make install DESTDIR=$startdir/pkg || return 1
find $startdir/pkg -name '.packlist' -delete
find $startdir/pkg -name '*.pod' -delete
}