From 5aa6f6cc6263c30e8a53c5c61ad484ffca41ce75 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Wed, 30 May 2018 20:30:14 +0000 Subject: perl-devel-checklib: initial --- abs/core/perl_modules/perl-devel-checklib/PKGBUILD | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 abs/core/perl_modules/perl-devel-checklib/PKGBUILD diff --git a/abs/core/perl_modules/perl-devel-checklib/PKGBUILD b/abs/core/perl_modules/perl-devel-checklib/PKGBUILD new file mode 100644 index 0000000..cfd2a70 --- /dev/null +++ b/abs/core/perl_modules/perl-devel-checklib/PKGBUILD @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: pzl + +pkgname=perl-devel-checklib +pkgver=1.11 +pkgrel=3 +pkgdesc="Module to check if other perl modules are installed" +arch=('any') +url='http://search.cpan.org/dist/Devel-CheckLib/' +license=('PerlArtistic' 'GPL') +depends=('perl') +checkdepends=('perl-io-captureoutput') +options=('!emptydirs') +source=("http://search.cpan.org/CPAN/authors/id/M/MA/MATTN/Devel-CheckLib-${pkgver}.tar.gz") +sha512sums=('21a64cb2ec4f3769d604eba151074daa841d40d2073a93ec186e82d8496f5ca05728c5352a31c4f07765956b85cb3144225edb51b84245b0582267af55ef2e2f') + +build() { + cd Devel-CheckLib-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd Devel-CheckLib-$pkgver + make test +} + +package() { + cd Devel-CheckLib-$pkgver + make install DESTDIR="$pkgdir" +} -- cgit v0.12