1 # Contributor: Elis Hughes <elishughes@googlemail.com>
2 pkgname=perl-apache-dbi
5 pkgdesc="Apache::DBI - Initiate a persistent database connection"
7 url="http://search.cpan.org/~pgollucci/Apache-DBI/"
10 options=('!emptydirs')
11 source=("http://search.cpan.org/CPAN/authors/id/P/PG/PGOLLUCCI/Apache-DBI-$pkgver.tar.gz")
12 md5sums=('a8161e5c1083afa0ecb6ac94491481e0')
15 cd $startdir/src/Apache-DBI-$pkgver
16 eval `perl -V:archname`
17 /usr/bin/perl Makefile.PL \
18 INSTALLARCHLIB=/usr/lib/perl5/current/${archname} \
19 INSTALLSITELIB=/usr/lib/perl5/site_perl/current \
20 INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname}
21 /usr/bin/make || return 1
22 /usr/bin/make DESTDIR=$startdir/pkg install
23 /usr/bin/find $startdir/pkg -name '.packlist' -delete
24 /usr/bin/find $startdir/pkg -name '*.pod' -delete