blob: 4f440b3056c0c7f53b21bad9f775a2605e049905 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=perl-par-packer
pkgver=1.039
_realname=PAR-Packer-$pkgver
pkgrel=1
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"
depends="perl-archive-zip perl-par perl-module-scandeps"
makedepends="perl-dev perl-getopt-argvfile"
checkdepends="perl-test-pod perl-ipc-run3"
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
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
check() {
cd "$builddir"
export PERL_TEST_POD=1
make test
}
sha512sums="d68c3d1e1d0ca1bb6029b14c7b7d0abe9f930223caa3e991ec895938fc95f59574f5843b3a733ef7ea9a45df29a902f1531a3b94d15cd023935ed094273c5572 PAR-Packer-1.039.tar.gz"
|