1 # Contributor: Christian Sturm <reezer@reezer.org>
2 pkgname=perl-ppix-regexp
5 pkgdesc="Represent a regular expression of some sort"
7 url="http://search.cpan.org/dist/PPIx-Regexp/"
8 license=('GPL' 'PerlArtistic')
9 depends=('perl>=5.10.0' perl-list-moreutils perl-params-util perl-readonly perl-task-weaken)
12 source=(http://cpan.metacpan.org/authors/id/W/WY/WYANT/PPIx-Regexp-$pkgver.tar.gz)
13 md5sums=('ae7ea4f2996598a046e73055fc54dcac')
16 cd "$srcdir/PPIx-Regexp-$pkgver"
18 # install module in vendor directories.
19 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
21 make install DESTDIR="$pkgdir/" || return 1
23 # remove perllocal.pod and .packlist
24 find "$pkgdir" -name perllocal.pod -delete
25 find "$pkgdir" -name .packlist -delete
28 # vim:set ts=2 sw=2 et: