diff options
Diffstat (limited to 'abs/core')
-rw-r--r-- | abs/core/perl_modules/perl-namespace-autoclean/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
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 <felixonmars@archlinux.org> +# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com> +# 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: |