summaryrefslogtreecommitdiff
path: root/extra/perl-dbi/PKGBUILD
blob: b913e9959aae23b34db55eae0aa5bbe1f0471f73 (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 191377 2013-07-24 22:05:06Z eric $
# Maintainer:

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

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

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

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