# Description: Perl module for generating and using LALR parsers
# URL: https://metacpan.org/release/Parse-Yapp
# Maintainer: Juergen Daubert, jue at crux dot nu

name=p5-parse-yapp
version=1.21
release=1
source=(https://cpan.metacpan.org/authors/id/W/WB/WBRASWELL/Parse-Yapp-$version.tar.gz)

build() {
	cd Parse-Yapp-$version
	perl Makefile.PL
	make OPTIMIZE="$CFLAGS"
	make DESTDIR=$PKG install
	find $PKG \( -name perllocal.pod -o -name .packlist \) -exec rm {} \;
	find $PKG -depth -type d -empty -exec rm -rf {} \;
}
