From a1734cfd582f6444c5494ec725313eab41548784 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Tue, 29 May 2018 23:13:30 +0000 Subject: perl-par-dist: initial inclusion --- abs/core/perl_modules/perl-par-dist/PKGBUILD | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 abs/core/perl_modules/perl-par-dist/PKGBUILD diff --git a/abs/core/perl_modules/perl-par-dist/PKGBUILD b/abs/core/perl_modules/perl-par-dist/PKGBUILD new file mode 100644 index 0000000..9034e91 --- /dev/null +++ b/abs/core/perl_modules/perl-par-dist/PKGBUILD @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: TDY +# Contributor: François Charette + +pkgname=perl-par-dist +pkgver=0.49 +pkgrel=3 +pkgdesc="Perl bindings to create and manipulate PAR distributions" +arch=('any') +url="http://search.cpan.org/dist/PAR-Dist/" +license=('GPL' 'PerlArtistic') +depends=('perl') +options=('!emptydirs') +source=("http://search.cpan.org/CPAN/authors/id/R/RS/RSCHUPP/PAR-Dist-$pkgver.tar.gz") +md5sums=('bd852113974544f3c8c107ab4055cf8c') + +build() { + cd "$srcdir/PAR-Dist-$pkgver" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$srcdir/PAR-Dist-$pkgver" + make test +} + +package() { + cd "$srcdir/PAR-Dist-$pkgver" + make install DESTDIR="$pkgdir" +} -- cgit v0.12