updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / perl-moosex-poe / PKGBUILD
blob3af9c7f4f066dc31a0e3814198c731b87e74cb67
1 # Contributor: 3ED <krzysztof1987 at gmail dot com>
3 pkgname=perl-moosex-poe
4 _prename=MooseX
5 _pkgname=MooseX-POE
6 pkgver='0.214'
7 pkgrel='1'
8 pkgdesc="The Illicit Love Child of Moose and POE"
9 arch=('i686' 'x86_64')
10 license=('PerlArtistic' 'GPL')
11 options=('!emptydirs')
12 depends=('perl' 'perl-test-simple' 'perl-test-fatal' 'perl-extutils-makemaker' 'perl-moose' 'perl-poe')
13 url='http://search.cpan.org/dist/MooseX-POE/'
14 source=(http://search.cpan.org/CPAN/modules/by-module/${_prename}/${_pkgname}-${pkgver}.tar.gz)
15 sha256sums=('97073721e39eb6cfdd438b49f3278c0b5033ef89c04f65401125f51edf83c57d')
17 build() {
18   cd "${srcdir}/${_pkgname}-${pkgver}"
19   export PERL_MM_USE_DEFAULT=1
21   perl Makefile.PL INSTALLDIRS=vendor
22   make
24 check() {
25   cd "${srcdir}/${_pkgname}-${pkgver}"
26   make test
28 package() {
29   cd "${srcdir}/${_pkgname}-${pkgver}"
30   make DESTDIR="${pkgdir}" install
32   find "${pkgdir}" -name .packlist -o -name perllocal.pod -delete