From 51a8bb6fe3ec608f5203a3a1dca970c4481a9749 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Sat, 14 Apr 2018 14:57:25 +0000 Subject: perl-inc-latest: dep of perl-module-build --- abs/core/perl_modules/perl-inc-latest/PKGBUILD | 31 ++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 abs/core/perl_modules/perl-inc-latest/PKGBUILD diff --git a/abs/core/perl_modules/perl-inc-latest/PKGBUILD b/abs/core/perl_modules/perl-inc-latest/PKGBUILD new file mode 100644 index 0000000..da7a350 --- /dev/null +++ b/abs/core/perl_modules/perl-inc-latest/PKGBUILD @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Felix Yan + +pkgname=perl-inc-latest +pkgver=0.500 +pkgrel=3 +pkgdesc="Build, test, and install Perl modules" +arch=('any') +url="https://github.com/dagolden/inc-latest" +license=('Apache') +depends=('perl') +checkdepends=('perl-cpan-meta') +options=('!emptydirs') +source=("http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/inc-latest-$pkgver.tar.gz") +sha512sums=('b312d1dfce963322796bc0127f0ecd82c12baacf9e5df40d9acc093221edd80f3696ce6d9f185ed24b21983147363d1d0ff3e273b8b5ce7559a6f16983a1385c') + +build() { + cd inc-latest-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd inc-latest-$pkgver + make test +} + +package() { + cd inc-latest-$pkgver + make install DESTDIR="$pkgdir" +} -- cgit v0.12