aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-par-packer/APKBUILD
blob: 65980207cec6f11f55235aaab0e0614bf20c45bf (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
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=perl-par-packer
pkgver=1.035
_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"
cpandepends=""
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends 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="b5ef61f4971a711c35985fa19ed87468  PAR-Packer-1.035.tar.gz"
sha256sums="2fefd598cfca960796ba0ac8bcb29b4015be1b6d7b0893dfa2ac22dc2c8fc3ae  PAR-Packer-1.035.tar.gz"
sha512sums="084001e99d27849d274c9d76da3295d09970ca42c3980517f6cfedd9ab9eaca665183a4cc2b6db5cb48677d4680e2e508ea14e6862592ce6d3e488d8c48fdfc6  PAR-Packer-1.035.tar.gz"