# Contributor: Anton Leontiev pkgname=perl-algorithm-permute pkgver=0.12 pkgrel=1 pkgdesc="Perl module for handy and fast permutations with object oriented interface" arch=("i686" "x86_64") license=("GPL") url="http://search.cpan.org/dist/Algorithm-Permute/" depends=("perl") options=(!emptydirs) source=(http://search.cpan.org/CPAN/authors/id/E/ED/EDPRATOMO/Algorithm-Permute-$pkgver.tar.gz) md5sums=("93c9e11af9511390379720fe046fb960") build() { cd "$srcdir/Algorithm-Permute-$pkgver" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } check() { cd "$srcdir/Algorithm-Permute-$pkgver" make test } package() { cd "$srcdir/Algorithm-Permute-$pkgver" make install DESTDIR="$pkgdir" find "$pkgdir" -name .packlist -o -name perllocal.pod -delete }