# Maintainer: Tom Killian # Contributor: Generated by the CPANPLUS::Dist::Pacman plugin # Wersja dla NND: Maciej Sitarz pkgname=perl-dbd-sqlite pkgver=1.13 pkgrel=1nnd pkgdesc="Self contained RDBMS in a DBI driver" url="http://search.cpan.org/~MSERGEANT/DBD-SQLite-$pkgver.tar.gz" depends=('perl' 'perl-dbi') license="GPL" source=(http://www.cpan.org/authors/id/M/MS/MSERGEANT/DBD-SQLite-$pkgver.tar.gz) md5sums=('d33e584f435d464a55946f58d4d4b9e2') build() { cd $startdir/src/DBD-SQLite-$pkgver eval `perl -V:archname` # Force module installation to "current" perl directories. /usr/bin/perl Makefile.PL \ INSTALLARCHLIB=/usr/lib/perl5/current/${archname} \ INSTALLSITELIB=/usr/lib/perl5/site_perl/current \ INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname} \ USE_LOCAL_SQLITE=yes /usr/bin/make || return 1 /usr/bin/make DESTDIR=$startdir/pkg install # remove perllocal.pod, .packlist, and empty dirs: /usr/bin/find $startdir/pkg -name '.packlist' -exec rm '{}' \; /usr/bin/find $startdir/pkg -name 'perllocal.pod' -exec rm '{}' \; /usr/bin/find $startdir/pkg -depth -type d -empty -exec rmdir '{}' \; }