diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-09-06 16:35:27 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-09-06 16:35:27 (GMT) |
commit | 5669815ec3a539cf7b5ac7d8da2cbba3aeff44be (patch) | |
tree | f13051093a52f47f5954c2ee2a783bc2f0f62f96 /abs/core/perl_modules/perl-namespace-autoclean | |
parent | 8d35f28049488f2585ef765bf48e7a58958fd587 (diff) | |
parent | 04697136037cb5341ee6c051f8aaa265c0400c82 (diff) | |
download | linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.zip linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.tar.gz linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.tar.bz2 |
Merge branch 'testing'
Diffstat (limited to 'abs/core/perl_modules/perl-namespace-autoclean')
-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: |