Date: Sunday, May 27, 2012 @ 03:43:07 Author: bluewind Revision: 159879
db-move: moved perl-dbd-sqlite from [staging] to [testing] (x86_64) Added: perl-dbd-sqlite/repos/testing-x86_64/ perl-dbd-sqlite/repos/testing-x86_64/PKGBUILD (from rev 159819, perl-dbd-sqlite/repos/staging-x86_64/PKGBUILD) Deleted: perl-dbd-sqlite/repos/staging-x86_64/ ----------+ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) Copied: perl-dbd-sqlite/repos/testing-x86_64/PKGBUILD (from rev 159819, perl-dbd-sqlite/repos/staging-x86_64/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2012-05-27 07:43:07 UTC (rev 159879) @@ -0,0 +1,32 @@ +# $Id$ +# Contributor: Tom Killian <t...@runbox.com> +# Contributor: francois at archlinux dot org + +pkgname=perl-dbd-sqlite +_cpanname=DBD-SQLite +pkgver=1.35 +pkgrel=2 +pkgdesc="Self-contained RDBMS in a DBI driver" +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/${_cpanname}" +license=('GPL' 'PerlArtistic') +depends=('perl-dbi>=1.61' 'sqlite') +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/A/AD/ADAMK/${_cpanname}-${pkgver}.tar.gz) +md5sums=('d9752e4a26fa54e74aa893dafd02ceda') + +build() { + cd "${srcdir}/${_cpanname}-${pkgver}" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "${srcdir}/${_cpanname}-${pkgver}" + make test +} + +package() { + cd "${srcdir}/${_cpanname}-${pkgver}" + make install DESTDIR="${pkgdir}" +}