archrelease: copy trunk to community-any
[ArchLinux/community.git] / libdbi / trunk / PKGBUILD
blob98e0601f145b99b46f90937948ffd9ef33c18865
1 # Maintainer: Balló György <ballogyor+arch at gmail dot com>
2 # Contributor: Thorsten Töpper <atsutane-tu@freethoughts.de>
3 # Contributor: Carl Flippin <carlf@photocarl.org>
5 pkgbase=libdbi
6 pkgname=(libdbi libdbi-docs)
7 pkgver=0.9.0
8 pkgrel=5
9 pkgdesc="Database independant abstraction layer for C"
10 url="http://libdbi.sourceforge.net/"
11 license=('LGPL')
12 arch=('x86_64')
13 depends=('glibc')
14 options=(!emptydirs)
15 source=("https://downloads.sourceforge.net/$pkgbase/$pkgbase-$pkgver.tar.gz")
16 sha256sums=('dafb6cdca524c628df832b6dd0bf8fabceb103248edb21762c02d3068fca4503')
18 build() {
19   cd $pkgbase-$pkgver
20   ./configure --prefix=/usr
21   make
24 package_libdbi() {
25   cd $pkgbase-$pkgver
26   make DESTDIR="$pkgdir" install
27   make -C doc DESTDIR="$pkgdir" uninstall
30 package_libdbi-docs() {
31   pkgdesc="Developer documentation for libdbi"
32   depends=()
34   cd $pkgbase-$pkgver
35   make -C doc DESTDIR="$pkgdir" install