diff options
Diffstat (limited to 'pkgs/perl-any-moose/PKGBUILD')
-rw-r--r-- | pkgs/perl-any-moose/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/perl-any-moose/PKGBUILD b/pkgs/perl-any-moose/PKGBUILD new file mode 100644 index 0000000..bb5b558 --- /dev/null +++ b/pkgs/perl-any-moose/PKGBUILD @@ -0,0 +1,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 +} |