summaryrefslogtreecommitdiff
path: root/community/clxclient/PKGBUILD
blob: 80da7b223af30e0ca6300085c209623b4494e846 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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
}