blob: 6ec55500d0fcabfa15f314ca192a1c9ba6b413c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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:
|