blob: 39cca092a6125daafb0323fcbcf020c0e83dcf71 (
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
|
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=perl-par-packer
pkgver=1.036
_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
}
md5sums="988e77f94bdf97f668d9347d82a6358b PAR-Packer-1.036.tar.gz"
sha256sums="0335937d93cd1f14faf553d746ba873d3a1b39fac58ce27dc1783b52c6bf0e70 PAR-Packer-1.036.tar.gz"
sha512sums="d54e886f6df3b67fda6839512e47fc2bfb80166819f082c0728bd3eb043bd9a780c9cfbf931e2f1aa4613f16741c21469a8a2a34e6083022119a13025b995671 PAR-Packer-1.036.tar.gz"
|