diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-05-30 19:51:20 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-05-30 19:51:20 (GMT) |
commit | 67341aef489f8338106e4ae78b9f2d91346b4de1 (patch) | |
tree | 4764b21e3adce2d6eaba919bd3818769cf5b65f9 | |
parent | cc8a3a47e9a9d71f73281a90d409b69000243052 (diff) | |
download | linhes_pkgbuild-67341aef489f8338106e4ae78b9f2d91346b4de1.zip linhes_pkgbuild-67341aef489f8338106e4ae78b9f2d91346b4de1.tar.gz linhes_pkgbuild-67341aef489f8338106e4ae78b9f2d91346b4de1.tar.bz2 |
perl-namespace-autoclean: initial
-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: |