updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / perl-moosex-daemonize / PKGBUILD
blob54689a50bc79920a2bec5ee26cabb09d34199181
1 # Contributor: Justin Davis <jrcd83@gmail.com>
2 # Generator  : CPANPLUS::Dist::Arch 1.18
4 pkgname='perl-moosex-daemonize'
5 pkgver='0.13'
6 pkgrel='1'
7 pkgdesc="Role for daemonizing your Moose based application"
8 arch=('any')
9 license=('PerlArtistic' 'GPL')
10 options=('!emptydirs')
11 depends=('perl-moosex-getopt>=0.07' 'perl-moosex-types-path-class')
12 makedepends=('perl-moose')
13 url='http://search.cpan.org/dist/MooseX-Daemonize'
14 source=('http://search.cpan.org/CPAN/authors/id/S/ST/STEVAN/MooseX-Daemonize-0.13.tar.gz')
15 md5sums=('fede7bd0885a41e2156afea00b19cf5a')
16 sha512sums=('f5d3d88929310e81f18eaf939588ed2eb81bf9756786173eff6ad41b31a2d16b3cec8c97b95f25f22f15b3cf7ae581e3268927213a95a2e772d4fe940a0c02a2')
17 _distdir="${srcdir}/MooseX-Daemonize-0.13"
19 build() {
20   ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
21       PERL_AUTOINSTALL=--skipdeps                            \
22       PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'"     \
23       PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
24       MODULEBUILDRC=/dev/null
26     cd "$_distdir"
27     /usr/bin/perl Makefile.PL
28     make
29   )
32 check() {
33   cd "$_distdir"
34   ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
35     make test
36   )
39 package() {
40   cd "$_distdir"
41   make install
42   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
45 # Local Variables:
46 # mode: shell-script
47 # sh-basic-offset: 2
48 # End:
49 # vim:set ts=2 sw=2 et: