# Contributor: Stuart Cardall # Maintainer: Stuart Cardall pkgname=perl-par-packer pkgver=1.037 _realname=PAR-Packer-$pkgver pkgrel=0 pkgdesc="App::Packer::Backend interface, for generating stand-alone executables, perl scripts and PAR files" url="http://search.cpan.org/dist/Par-Packer/" arch="all" license="GPL PerlArtistic" makedepends="perl-dev perl-archive-zip perl-par perl-par-dist perl-module-scandeps perl-getopt-argvfile" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/R/RS/RSCHUPP/$_realname.tar.gz" builddir="$srcdir/$_realname" build() { cd "$builddir" mkdir blib cp -rf lib script blib/ # fix parallel install issue on build server 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 } check() { cd "$builddir" make test } sha512sums="fe82c13baf27509076435dc6dd4a22cc4e98606de54b6baa65232e4083d3716c464f423b2671d9a009378ae596084b27a31a3392dacf8e17e3d728f2ccbbaaa6 PAR-Packer-1.037.tar.gz"