# Maintainer: Felix Yan # Contributor: TDY # Contributor: François Charette pkgname=perl-par-dist pkgver=0.51 pkgrel=3 pkgdesc="Perl bindings to create and manipulate PAR distributions" arch=('any') url="https://search.cpan.org/dist/PAR-Dist/" license=('GPL' 'PerlArtistic') depends=('perl') options=('!emptydirs') source=("https://search.cpan.org/CPAN/authors/id/R/RS/RSCHUPP/PAR-Dist-$pkgver.tar.gz") sha512sums=('4c06ff54dfa8f3dc4766b60c45337b3cf80b32ec6bcc49d7e5a4786e0533e495f6215b257100fa5aae50f12e01a8b3d7144254d8706019c50ff115915f0fcb41') build() { cd "$srcdir/PAR-Dist-$pkgver" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } check() { cd "$srcdir/PAR-Dist-$pkgver" make test } package() { cd "$srcdir/PAR-Dist-$pkgver" make install DESTDIR="$pkgdir" }