blob: 6bd6eee39ba403e979acc80c81c4f9f8a9d6e65d (
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.041
_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"
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="25d795c13bbf541caed41675ee50ace74491580e61c762176a2a00b2019d629af5b94adaa41e8ddfc974a5c14b14dca0eb4614610cd12977e5c640c87484c810 PAR-Packer-1.041.tar.gz"
|