summaryrefslogtreecommitdiff
path: root/extra/perl-dbi/PKGBUILD
blob: 2ea835e9ab7792ba0d7e126c0046c2c44a43b865 (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 205966 2014-02-15 00:56:26Z eric $
# Maintainer:

pkgname=perl-dbi
pkgver=1.631
pkgrel=1
pkgdesc="Database independent interface for Perl"
arch=('i686' 'x86_64' 'mips64el')
url="http://search.cpan.org/dist/DBI/"
license=('GPL' 'PerlArtistic')
depends=('perl')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/T/TI/TIMB/DBI-${pkgver}.tar.gz)
md5sums=('444d3c305e86597e11092b517794a840')

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

check() {
  cd DBI-${pkgver}
  make test
}

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