1 # Contributor: Ben Webb <bjwebb67 at googlemail dot com>
5 pkgdesc="Database connection caching and organization"
7 url="http://search.cpan.org/dist/Ima-DBI/lib/Ima/DBI.pm"
8 license=('GPL' 'PerlArtistic')
9 depends=('perl>=5.10.0' 'perl-dbi' 'perl-class-data-inheritable' 'perl-dbix-contextualfetch')
11 source=(http://search.cpan.org/CPAN/authors/id/P/PE/PERRIN/Ima-DBI-$pkgver.tar.gz)
12 md5sums=('f3c5c0b1fe509556ca35f08aae91b3f5')
15 cd "$srcdir/Ima-DBI-$pkgver"
17 # install module in vendor directories.
18 perl Makefile.PL INSTALLDIRS=vendor || return 1
20 make install DESTDIR=${pkgdir} || return 1
22 # remove perllocal.pod and .packlist
23 find "$pkgdir" -name perllocal.pod -delete
24 find "$pkgdir" -name .packlist -delete