aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2015-12-12 12:25:24 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-12-14 13:47:13 +0000
commit8e776549e98c68f706b2cebf051ba0b98cb382b6 (patch)
treeaec0c2c07d3ecdd3f1f5e958939ada839646a61c
parent4013b7919aa5273625cd9837b0d2e6d1aa018c38 (diff)
downloadaports-8e776549e98c68f706b2cebf051ba0b98cb382b6.tar.bz2
aports-8e776549e98c68f706b2cebf051ba0b98cb382b6.tar.xz
testing/perl-par: new aport
-rw-r--r--testing/perl-par/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/perl-par/APKBUILD b/testing/perl-par/APKBUILD
new file mode 100644
index 0000000000..1c933eb8d6
--- /dev/null
+++ b/testing/perl-par/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
+# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
+pkgname=perl-par
+pkgver=1.010
+_realname=PAR-$pkgver
+pkgrel=0
+pkgdesc="PAR - Perl Archive Toolkit"
+url="http://search.cpan.org/dist/File-Copy-Recursive/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=""
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/R/RS/RSCHUPP/$_realname.tar.gz"
+
+_builddir="$srcdir"/$_realname
+
+build() {
+ cd "$_builddir"
+ 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="145d68a1f0de0f893e957c7619cc2707 PAR-1.010.tar.gz"
+sha256sums="78af355e757a55bfec0db4a02d62c402c5c56b31e8d317f70a31fc963b2e7e51 PAR-1.010.tar.gz"
+sha512sums="57e2c39927402c353ee356ae9b91b4233614afa9dca61c3c2effbe2db8b6c653949cc424b637d12dc89668ddf7f49a38d2e6610521410e613e061c0f980b304d PAR-1.010.tar.gz"