From 67341aef489f8338106e4ae78b9f2d91346b4de1 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Wed, 30 May 2018 19:51:20 +0000 Subject: perl-namespace-autoclean: initial --- .../perl_modules/perl-namespace-autoclean/PKGBUILD | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 abs/core/perl_modules/perl-namespace-autoclean/PKGBUILD diff --git a/abs/core/perl_modules/perl-namespace-autoclean/PKGBUILD b/abs/core/perl_modules/perl-namespace-autoclean/PKGBUILD new file mode 100644 index 0000000..6ec5550 --- /dev/null +++ b/abs/core/perl_modules/perl-namespace-autoclean/PKGBUILD @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: John D Jones III AKA jnbek +# Generator : CPANPLUS::Dist::Arch 1.32 + +pkgname=perl-namespace-autoclean +pkgver=0.28 +pkgrel=3 +pkgdesc="Keep imports out of your namespace" +arch=('any') +license=('PerlArtistic' 'GPL') +url='https://metacpan.org/release/namespace-autoclean' +depends=('perl-b-hooks-endofscope' 'perl-sub-identify' 'perl-namespace-clean') +checkdepends=('perl-test-requires' 'perl-moo' 'perl-sub-name' 'perl-mouse') +options=('!emptydirs') +source=("http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/namespace-autoclean-$pkgver.tar.gz") +sha512sums=('2541f69862b334fcfe30059d025668175de1b182a5c8ee8f2619bf1d661c316a38fe2014f274bb23e887cd36959f98abb297154ac8ceb600e2e93cbd4a75e28d') + +build() { + cd "$srcdir"/namespace-autoclean-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$srcdir"/namespace-autoclean-$pkgver + make test +} + +package() { + cd "$srcdir"/namespace-autoclean-$pkgver + make DESTDIR="$pkgdir"/ install +} + +# vim:set ts=2 sw=2 et: -- cgit v0.12