diff options
Diffstat (limited to 'community/libdbi')
-rw-r--r-- | community/libdbi/PKGBUILD | 29 | ||||
-rw-r--r-- | community/libdbi/libdbi.install | 13 |
2 files changed, 42 insertions, 0 deletions
diff --git a/community/libdbi/PKGBUILD b/community/libdbi/PKGBUILD new file mode 100644 index 000000000..e0c031534 --- /dev/null +++ b/community/libdbi/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 87114 2013-03-27 13:46:18Z ttoepper $ +# Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de> +# Contributor: Carl Flippin <carlf@photocarl.org> + +pkgname=libdbi +pkgver=0.9.0 +pkgrel=1 +pkgdesc="A database independant abstraction layer for C" +url="http://libdbi.sourceforge.net" +license=('LGPL') +arch=('i686' 'x86_64') +depends=('glibc') +options=(!libtool) +install=libdbi.install +source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha1sums=('6c1ecfb78f43a921d5f914299304bd6c82cb0e23') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr + make CFLAGS="-fno-fast-math" +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR=${pkgdir} install +} + +# vim:set ts=2 sw=2 et: diff --git a/community/libdbi/libdbi.install b/community/libdbi/libdbi.install new file mode 100644 index 000000000..1dcdad1a1 --- /dev/null +++ b/community/libdbi/libdbi.install @@ -0,0 +1,13 @@ +post_install() { + ldconfig +} + +post_upgrade() { + ldconfig +} + +post_remove() { + ldconfig +} + +# vim:set ts=2 sw=2 et: |