blob: bb5b558827ed3651ef5f3cec0e194501a0d9245c (
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
|
# CPAN Name : Any-Moose
# Contributor: Caleb Cushing <xenoterracide@gmail.com>
# Generator : CPANPLUS::Dist::Arch 1.00
# Template @ http://github.com/xenoterracide/AURpan/blob/master/perl-any-moose/PKGBUILD.tt
# File bugs @ http://github.com/xenoterracide/AURpan/issues
pkgname='perl-any-moose'
pkgver='0.13'
pkgrel='1'
pkgdesc="use Moose or Mouse modules"
arch=('any')
url='http://search.cpan.org/dist/Any-Moose'
license=('PerlArtistic' 'GPL')
depends=('perl' 'perl-mouse>=0.40')
options=('!emptydirs')
source=('http://search.cpan.org/CPAN/authors/id/S/SA/SARTAK/Any-Moose-0.13.tar.gz')
md5sums=('6d66e3344e50ceb6006c9d900115683b')
build() {
DIST_DIR="${srcdir}/Any-Moose-0.13"
export PERL_AUTOINSTALL=--skipdeps PERL_MM_USE_DEFAULT=1
{
cd "$DIST_DIR" &&
perl Makefile.PL INSTALLDIRS=vendor &&
make &&
make test &&
make DESTDIR="$pkgdir" install;
} || return 1;
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}
|