summaryrefslogtreecommitdiff
path: root/extra/perl-dbi/PKGBUILD
blob: c67d5c7579846e8c349e8cfbddf8e67bba666396 (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 186584 2013-05-29 15:44:45Z eric $
# Maintainer:

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

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

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

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