diff options
Diffstat (limited to 'community/cdbxx/PKGBUILD')
-rw-r--r-- | community/cdbxx/PKGBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/community/cdbxx/PKGBUILD b/community/cdbxx/PKGBUILD index 3caa5d468..8409adaa4 100644 --- a/community/cdbxx/PKGBUILD +++ b/community/cdbxx/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 17495 2010-05-24 14:11:11Z spupykin $ +# $Id: PKGBUILD 65076 2012-02-20 03:31:11Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=cdbxx pkgver=0.0.1rc2 -pkgrel=2 +pkgrel=3 pkgdesc="cdbxx is a small STL style C++ library for TinyCDB implementation of Constant Database" arch=(i686 x86_64) url="http://cdbxx.sourceforge.net/" @@ -15,11 +15,11 @@ source=(http://downloads.sourceforge.net/sourceforge/cdbxx/$pkgname-$pkgver.tar. md5sums=('8c7f3eebe5c090ddea4aebf5445a1621') build() { - cd $startdir/src/$pkgname-$pkgver + cd $srcdir/$pkgname-$pkgver sed -i 's#LDFLAGS = -Wl,-rpath,$(shell pwd)/../src/ -L../src/ -lcdbxx#LDFLAGS = -Wl,-rpath,$(shell pwd)/../src/ -L../src/ -lcdbxx -lcdb#' ./testsuite/Makefile sed -i '1,2i#include <string.h>' src/db.cc - make || return 1 - make DESTDIR=$startdir/pkg install + make + make DESTDIR=$pkgdir install } |