aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-par-packer/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/perl-par-packer/APKBUILD')
-rw-r--r--community/perl-par-packer/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/community/perl-par-packer/APKBUILD b/community/perl-par-packer/APKBUILD
new file mode 100644
index 000000000..65980207c
--- /dev/null
+++ b/community/perl-par-packer/APKBUILD
@@ -0,0 +1,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"