blob: 7b56b37af798d2ab1cf6ce1c99cc87765551f342 (
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.049
_realname=PAR-Packer-$pkgver
pkgrel=2
pkgdesc="App::Packer::Backend interface, for generating stand-alone executables, perl scripts and PAR files"
url="https://metacpan.org/release/Par-Packer/"
arch="all"
license="Artistic-1.0-Perl GPL-1.0-or-later"
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="https://cpan.metacpan.org/authors/id/R/RS/RSCHUPP/$_realname.tar.gz"
builddir="$srcdir/$_realname"
build() {
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() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
check() {
export PERL_TEST_POD=1
make test
}
sha512sums="c573f73731d54b08f722d3153a604703a685d794f5c0623bc581cc7340f45aac13c2356d078521a2c948f99558c29640fc4ab31a72b239d5ff031359325a637a PAR-Packer-1.049.tar.gz"
|