# Contributor: Stuart Cardall # Maintainer: Stuart Cardall pkgname=perl-par _pkgname=PAR pkgver=1.012 pkgrel=0 pkgdesc="Perl Archive Toolkit" url="http://search.cpan.org/dist/File-Copy-Recursive/" arch="noarch" license="GPL PerlArtistic" depends="perl" makedepends="perl-dev" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::http://search.cpan.org/CPAN/authors/id/R/RS/RSCHUPP/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" build() { cd "$builddir" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 } package() { cd "$builddir" make DESTDIR="$pkgdir" install || return 1 find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } md5sums="417ef8e59c7314a10d3e25d4588843fe perl-par-1.012.tar.gz" sha256sums="ee1e2b7d7f364a71e91456faf3ceef69eeb639901480a17e4e0ff1e8dba26a85 perl-par-1.012.tar.gz" sha512sums="c40eff1c998c5ff64b5260ba8aec4899bd51a848f26d4c59dfc9abc6b0fac48095de5ba6cd42f1bb285243347710242dc997e61c9af0d5466e58127216185873 perl-par-1.012.tar.gz"