blob: 677fad0b66551bdf83dcbb82662bf99e19407ab9 (
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
|
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
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"
|