From 4ff9b385ba66d5fe4fd88a2fc12bfe05845109d0 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Tue, 29 May 2018 23:16:54 +0000 Subject: perl-module-scandeps: initial inclusion --- .../perl_modules/perl-module-scandeps/PKGBUILD | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 abs/core/perl_modules/perl-module-scandeps/PKGBUILD diff --git a/abs/core/perl_modules/perl-module-scandeps/PKGBUILD b/abs/core/perl_modules/perl-module-scandeps/PKGBUILD new file mode 100644 index 0000000..1c193e3 --- /dev/null +++ b/abs/core/perl_modules/perl-module-scandeps/PKGBUILD @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: xRemaLx + +pkgname=perl-module-scandeps +_pkgname=Module-ScanDeps +pkgver=1.24 +pkgrel=2 +pkgdesc="Scan file prerequisites" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl') +makedepends=('perl-test-requires') +url="http://search.cpan.org/dist/Module-ScanDeps" +source=("http://search.cpan.org/CPAN/authors/id/R/RS/RSCHUPP/Module-ScanDeps-$pkgver.tar.gz") +sha512sums=('7f3d9821aa863d8ebc78fb5fb3c7172ce133169ec54ed91b90e05ba50654b4bd0282b3a760adfc8b6bd553dda4116dbf51972bb2af94b59f6f04daeba996e889') + +build() { + cd Module-ScanDeps-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd Module-ScanDeps-$pkgver + make test +} + +package() { + cd Module-ScanDeps-$pkgver + make DESTDIR="$pkgdir" install +} -- cgit v0.12