[arch-commits] Commit in clxclient/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 17:15:54 UTC 2020
Date: Tuesday, July 7, 2020 @ 17:15:54
Author: felixonmars
Revision: 659638
archrelease: copy trunk to community-staging-x86_64
Added:
clxclient/repos/community-staging-x86_64/
clxclient/repos/community-staging-x86_64/PKGBUILD
(from rev 659636, clxclient/trunk/PKGBUILD)
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Copied: clxclient/repos/community-staging-x86_64/PKGBUILD (from rev 659636, clxclient/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-07 17:15:54 UTC (rev 659638)
@@ -0,0 +1,41 @@
+# 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=4
+pkgdesc="C++ wrapper library around the X Window System API"
+arch=('x86_64')
+url="https://kokkinizita.linuxaudio.org/linuxaudio/"
+license=('LGPL2.1')
+depends=('gcc-libs' 'glibc' 'libx11' 'libxft')
+makedepends=('clthreads')
+provides=('libclxclient.so')
+source=("https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${pkgver}.tar.bz2")
+sha512sums=('38c2782e58df24c2dfcb936fc9cfe4d44016055fb1aa52ef8e789bf8ec327f45f2f7a91f18012e4b0c6f253f6f10329d6d1e9fc341017ace3f2b6fa050592049')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ # removing optimization
+ # call ldconfig in local context
+ sed -e '/native/d' \
+ -e 's/ldconfig/& -N $(DESTDIR)\/$(LIBDIR)/' \
+ -i source/Makefile
+ # fix global header include
+ sed -e 's/<clxclient.h>/\"clxclient.h\"/' -i source/enumip.cc
+}
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ make -C source
+}
+
+package(){
+ cd "${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}/" PREFIX='/usr' LIBDIR='/usr/lib' -C source install
+ install -vDm 644 AUTHORS -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
More information about the arch-commits
mailing list