From 88933a383866089c23f6d62783a6a24ab211e872 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Tue, 1 Jul 2014 03:54:24 +0000 Subject: Tue Jul 1 03:46:37 UTC 2014 --- extra/tinycdb/PKGBUILD | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'extra/tinycdb/PKGBUILD') 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 +# $Id: PKGBUILD 215728 2014-06-30 10:45:25Z bisson $ # Maintainer: Gaetan Bisson +# Contributor: Sergej Pupykin 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}" } -- cgit v1.2.3-54-g00ecf