summaryrefslogtreecommitdiff
path: root/community/libdbi/PKGBUILD
blob: f48fc473f4b13ca5a1a62a8337f4bc4f942b8838 (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
# Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de>
# Contributor: Carl Flippin <carlf@photocarl.org>

pkgname=libdbi
pkgver=0.8.4
pkgrel=1
pkgdesc="A database independant abstraction layer for C"
url="http://libdbi.sourceforge.net"
license=('LGPL')
arch=('i686' 'x86_64' 'mips64el')
depends=('glibc')
options=(!libtool)
install=libdbi.install
source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz")
md5sums=('c5f15407ef7b07ba854cd8c9b15b88ff')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR=${pkgdir} install
}