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