[arch-commits] Commit in clxclient/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Fri Aug 31 13:29:47 UTC 2018
Date: Friday, August 31, 2018 @ 13:29:46
Author: dvzrv
Revision: 375841
upgpkg: clxclient 3.9.2-1
Upgrading to 3.9.2. Applying fixes for updated Makefile.
Modified:
clxclient/trunk/PKGBUILD
----------+
PKGBUILD | 25 +++++++++++++++----------
1 file changed, 15 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-31 12:50:21 UTC (rev 375840)
+++ PKGBUILD 2018-08-31 13:29:46 UTC (rev 375841)
@@ -7,32 +7,37 @@
# Contributor: Philipp Überbacher <murks at lavabit dot com>
pkgname=clxclient
-pkgver=3.9.0
-pkgrel=4
+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=('LGPL')
+license=('LGPL2.1')
depends=('libxft')
makedepends=('clthreads')
source=("${url}downloads/${pkgname}-${pkgver}.tar.bz2")
-sha512sums=('4bbd621ceeebf3dfc36f0a3d02c63ba1c0e818e691e5c9681e737710824f53a58c682fb2475a7a2bba4f2dfd520166b782977320ceb73de39448cf512e26c842')
+sha512sums=('38c2782e58df24c2dfcb936fc9cfe4d44016055fb1aa52ef8e789bf8ec327f45f2f7a91f18012e4b0c6f253f6f10329d6d1e9fc341017ace3f2b6fa050592049')
prepare() {
cd "$pkgname-$pkgver"
- # patch call to ldconfig to be not global (upstream fix requested)
- sed -i 's/ldconfig/& -N $(PREFIX)\/$(LIBDIR)/' Makefile
+ # 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}"
- make PREFIX="${pkgdir}/usr" LIBDIR=lib
+ cd "${pkgname}-${pkgver}/source"
+ make
}
package(){
- cd "${pkgname}-${pkgver}"
+ cd "${pkgname}-${pkgver}/source"
# install of include dir due to broken Makefile (upstream fix requested)
install -d "${pkgdir}/usr/include"
- make PREFIX="${pkgdir}/usr" LIBDIR=lib install
+ make DESTDIR="${pkgdir}/" PREFIX='/usr' LIBDIR='/usr/lib' install
}
More information about the arch-commits
mailing list