updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / perl-kiokudb / PKGBUILD
blob46df22cd51f9af9c211a3600c9a2453bc4ad5200
1 # Contributor: AUR Perl <aurperl@juster.info>
2 # Generator  : CPANPLUS::Dist::Arch 1.12
4 pkgname='perl-kiokudb'
5 pkgver='0.52'
6 pkgrel='1'
7 pkgdesc="Object Graph storage engine"
8 arch=('any')
9 license=('PerlArtistic' 'GPL')
10 options=('!emptydirs')
11 depends=('perl-cache-ref>=0.02' 'perl-data-stream-bulk>=0.08' 'perl-data-uuid>=1.203' 'perl-data-visitor>=0.24' 'perl-hash-util-fieldhash-compat' 'perl-json>=2.12' 'perl-json-xs>=2.231' 'perl-moose>=1.17' 'perl-moosex-clone>=0.04' 'perl-moosex-role-parameterized>=0.1' 'perl-moosex-yaml>=0.04' 'perl-namespace-clean>=0.08' 'perl-padwalker>=1.9' 'perl-path-class' 'perl-scope-guard' 'perl-search-gin>=0.03' 'perl-set-object>=1.26' 'perl-task-weaken' 'perl-throwable' 'perl-tie-toobject' 'perl-try-tiny' 'perl-yaml-libyaml')
12 makedepends=('perl-test-exception' 'perl-test-use-ok')
13 url='http://search.cpan.org/dist/KiokuDB'
14 source=('http://search.cpan.org/CPAN/authors/id/D/DO/DOY/KiokuDB-0.52.tar.gz')
15 md5sums=('737a90bc6b1e35342102b25c861fc71c')
16 _distdir="${srcdir}/KiokuDB-0.52"
18 build() {
19   ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
20       PERL_AUTOINSTALL=--skipdeps                            \
21       PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'"     \
22       PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
23       MODULEBUILDRC=/dev/null
25     cd "$_distdir"
26     /usr/bin/perl Makefile.PL
27     make
28   )
31 check() {
32   cd "$_distdir"
33   ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
34     make test
35   )
38 package() {
39   cd "$_distdir"
40   make install
41   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
44 # Local Variables:
45 # mode: shell-script
46 # sh-basic-offset: 2
47 # End:
48 # vim:set ts=2 sw=2 et: