[arch-commits] Commit in clxclient/repos (2 files)
David Runge
dvzrv at archlinux.org
Fri Aug 31 13:29:52 UTC 2018
Date: Friday, August 31, 2018 @ 13:29:52
Author: dvzrv
Revision: 375842
archrelease: copy trunk to community-testing-x86_64
Added:
clxclient/repos/community-testing-x86_64/
clxclient/repos/community-testing-x86_64/PKGBUILD
(from rev 375841, clxclient/trunk/PKGBUILD)
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Copied: clxclient/repos/community-testing-x86_64/PKGBUILD (from rev 375841, clxclient/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2018-08-31 13:29:52 UTC (rev 375842)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: speps <speps at aur dot archlinux dot org>
+# Contributor: Christoph Zeiler <rabyte*gmail>
+# Contributor: Tom K <tomk at runbox.com>
+# Contributor: Shinlun Hsieh <yngwiexx at yahoo.com.tw>
+# Contributor: Philipp Überbacher <murks at lavabit dot com>
+
+pkgname=clxclient
+pkgver=3.9.2
+pkgrel=1
+pkgdesc="C++ wrapper library around the X Window System API"
+arch=('x86_64')
+url="https://kokkinizita.linuxaudio.org/linuxaudio/"
+license=('LGPL2.1')
+depends=('libxft')
+makedepends=('clthreads')
+source=("${url}downloads/${pkgname}-${pkgver}.tar.bz2")
+sha512sums=('38c2782e58df24c2dfcb936fc9cfe4d44016055fb1aa52ef8e789bf8ec327f45f2f7a91f18012e4b0c6f253f6f10329d6d1e9fc341017ace3f2b6fa050592049')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ # removing optimization
+ # patch call to ldconfig to be local (upstream fix requested)
+ sed -e '/native/d' \
+ -e 's/ldconfig/& -N $(PREFIX)\/$(LIBDIR)/' \
+ -i source/Makefile
+ # fix global header include
+ sed -e 's/<clxclient.h>/\"clxclient.h\"/' -i source/enumip.cc
+}
+
+build() {
+ cd "${pkgname}-${pkgver}/source"
+ make
+}
+
+package(){
+ cd "${pkgname}-${pkgver}/source"
+ # install of include dir due to broken Makefile (upstream fix requested)
+ install -d "${pkgdir}/usr/include"
+ make DESTDIR="${pkgdir}/" PREFIX='/usr' LIBDIR='/usr/lib' install
+}
+
More information about the arch-commits
mailing list