blob: 6adfb29bf06699c26aa067996db2445995a10c65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# $Id: PKGBUILD 100851 2010-11-26 00:50:08Z kevin $
# Contributor: Tom Killian <tomk@runbox.com>
# Contributor: francois at archlinux dot org
pkgname=perl-dbd-sqlite
_cpanname=DBD-SQLite
pkgver=1.31
pkgrel=1
pkgdesc="Self-contained RDBMS in a DBI driver"
arch=('i686' 'x86_64' 'mips64el')
url="http://search.cpan.org/dist/${_cpanname}"
license=('GPL' 'PerlArtistic')
depends=('perl-dbi>=1.61' 'sqlite3')
makedepends=('perl-pathtools>=0.82')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/A/AD/ADAMK/${_cpanname}-${pkgver}.tar.gz)
md5sums=('67b3575104efd606c8093bc416e3338d')
build() {
cd "${srcdir}/${_cpanname}-${pkgver}"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
make test
}
package() {
cd "${srcdir}/${_cpanname}-${pkgver}"
make install DESTDIR="${pkgdir}"
}
|