updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-dbix-class-encodedcolumn / PKGBUILD
blob46b0c7333a978303084f855d37a164ab05cd63f8
1 # Contributor: Caleb Cushing <xenoterracide@gmail.com>
2 # Generator  : CPANPLUS::Dist::Arch 0.16
3 pkgname='perl-dbix-class-encodedcolumn'
4 pkgver='0.00006'
5 pkgrel='1'
6 pkgdesc="Automatically encode column values"
7 arch=('i686' 'x86_64')
8 license=('PerlArtistic' 'GPL')
9 options=('!emptydirs')
10 depends=('perl' 'perl-dbd-sqlite' 'perl-dbix-class>=0.06002' 'perl-sql-translator>=0.11002' 'perl-sub-name>=0.04')
11 url='http://search.cpan.org/dist/DBIx-Class-EncodedColumn'
12 source=('http://search.cpan.org/CPAN/authors/id/F/FR/FREW/DBIx-Class-EncodedColumn-0.00006.tar.gz')
13 md5sums=('3de31814c6add4ae1a416f7cc4101441')
15 build() {
16   _DISTDIR="${srcdir}/DBIx-Class-EncodedColumn-0.00006"
17   export PERL_MM_USE_DEFAULT=1
18   { cd "$_DISTDIR" &&
19     perl Makefile.PL INSTALLDIRS=vendor &&
20     make &&
21     make test &&
22     make DESTDIR="${pkgdir}/" install;
23   } || return 1;
25   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete