summaryrefslogtreecommitdiff
path: root/extra/perl-dbd-sqlite/PKGBUILD
blob: 981eab8a6abcb69603d2b7b80ad8ca785064e0b6 (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
30
# $Id: PKGBUILD 214217 2014-06-04 13:51:25Z bluewind $
# Maintainer: Felix Yan <felixonmars@gmail.com>

pkgname=perl-dbd-sqlite
pkgver=1.42
pkgrel=2
pkgdesc="Self-contained RDBMS in a DBI driver"
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/DBD-SQLite"
license=('GPL' 'PerlArtistic')
depends=('perl-dbi' 'sqlite')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/I/IS/ISHIGAKI/DBD-SQLite-${pkgver}.tar.gz)
md5sums=('86cfaf477cb9ddc39508f74f4268fc79')

build() {
  cd DBD-SQLite-${pkgver}
  perl Makefile.PL INSTALLDIRS=vendor
  make
}

check() {
  cd DBD-SQLite-${pkgver}
  make test
}

package() {
  cd DBD-SQLite-${pkgver}
  make install DESTDIR="${pkgdir}"
}