updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / perl-kiokudb-backend-files / PKGBUILD
blobb7fc8f530ad2e9cfb8ef656a2ef27365de8b6dad
1 # Contributor: Justin Davis <jrcd83@gmail.com>
2 # Generator  : CPANPLUS::Dist::Arch 1.06
3 pkgname='perl-kiokudb-backend-files'
4 pkgver='0.06'
5 pkgrel='1'
6 pkgdesc="One file per object backend"
7 arch=('any')
8 license=('PerlArtistic' 'GPL')
9 options=('!emptydirs')
10 depends=('perl' 'perl-directory-transactional>=0.06' 'perl-io>=1.2301' 'perl-kiokudb>=0.24' 'perl-moose' 'perl-moosex-types-path-class' 'perl-test-tempdir')
11 url='http://search.cpan.org/dist/KiokuDB-Backend-Files'
12 source=('http://search.cpan.org/CPAN/authors/id/N/NU/NUFFIN/KiokuDB-Backend-Files-0.06.tar.gz')
13 md5sums=('ebda2d19551febae41f6755d3676f49b')
15 build() {
16   PERL=/usr/bin/perl
17   DIST_DIR="${srcdir}/KiokuDB-Backend-Files-0.06"
18   export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
19     PERL_AUTOINSTALL=--skipdeps                            \
20     PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'"     \
21     PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
22     MODULEBUILDRC=/dev/null
24   { cd "$DIST_DIR" &&
25     $PERL Makefile.PL &&
26     make &&
27     make test &&
28     make install;
29   } || return 1;
31   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete