diff options
Diffstat (limited to 'extra/tinycdb/PKGBUILD')
-rw-r--r-- | extra/tinycdb/PKGBUILD | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/extra/tinycdb/PKGBUILD b/extra/tinycdb/PKGBUILD index 2e803febd..0c6d3d569 100644 --- a/extra/tinycdb/PKGBUILD +++ b/extra/tinycdb/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 163135 2012-07-08 02:03:57Z bisson $ -# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> +# $Id: PKGBUILD 215728 2014-06-30 10:45:25Z bisson $ # Maintainer: Gaetan Bisson <bisson@archlinux.org> +# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=tinycdb pkgver=0.78 -pkgrel=1 +pkgrel=2 pkgdesc='Very fast and simple package for creating and reading constant data bases' url='http://www.corpit.ru/mjt/tinycdb.html' license=('custom') @@ -12,9 +12,13 @@ arch=('i686' 'x86_64') source=("http://www.corpit.ru/mjt/tinycdb/${pkgname}-${pkgver}.tar.gz") sha1sums=('ade42ee1e7c56f66a63cb933206c089b9983adba') -build() { +prepare() { cd "${srcdir}/${pkgname}-${pkgver}" sed -e 's/all: static/all: shared/' -e '/libcdb.a/d' -i Makefile +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" make CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" } |