summaryrefslogtreecommitdiff
path: root/community/clxclient/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/clxclient/PKGBUILD')
-rw-r--r--community/clxclient/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/community/clxclient/PKGBUILD b/community/clxclient/PKGBUILD
new file mode 100644
index 000000000..80da7b223
--- /dev/null
+++ b/community/clxclient/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 95505 2013-08-13 03:39:58Z speps $
+# Maintainer : speps <speps at aur dot archlinux dot org>
+# Contributor: Christoph Zeiler <rabyte*gmail>
+# Contributor: Tom K <tomk@runbox.com>
+# Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
+# Contributor: Philipp Überbacher <murks at lavabit dot com>
+
+pkgname=clxclient
+pkgver=3.9.0
+pkgrel=1
+pkgdesc="C++ wrapper library around the X Window System API"
+arch=('i686' 'x86_64')
+url="http://kokkinizita.linuxaudio.org/linuxaudio/"
+license=('LGPL')
+depends=('gcc-libs' 'libxft')
+makedepends=('clthreads')
+source=("${url}downloads/$pkgname-$pkgver.tar.bz2")
+md5sums=('bd6df73f688c9be1b3afef58283d7ef5')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ # call ldconfig locally
+ sed -i 's/ldconfig/& -N $(DESTDIR)$(PREFIX)\/$(LIBDIR)/' Makefile
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ make PREFIX="$pkgdir/usr" LIBDIR=lib
+}
+
+package(){
+ cd "$pkgname-$pkgver"
+ install -d "$pkgdir/usr/include"
+ make PREFIX="$pkgdir/usr" LIBDIR=lib install
+}
+