diff options
author | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
commit | 7a65a910b77ad191d69881098c47f9b0c852d92e (patch) | |
tree | 9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/cdbxx | |
parent | 60da6abff6c9577a783d72865f11de7a585e912e (diff) |
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/cdbxx')
-rw-r--r-- | community/cdbxx/PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/community/cdbxx/PKGBUILD b/community/cdbxx/PKGBUILD new file mode 100644 index 000000000..8409adaa4 --- /dev/null +++ b/community/cdbxx/PKGBUILD @@ -0,0 +1,25 @@ +# $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=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/" +license=("GPL") +depends=(gcc) +makedepends=(tinycdb) +source=(http://downloads.sourceforge.net/sourceforge/cdbxx/$pkgname-$pkgver.tar.bz2) +md5sums=('8c7f3eebe5c090ddea4aebf5445a1621') + +build() { + 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 + make DESTDIR=$pkgdir install +} |