[arch-commits] Commit in clxclient/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Sat Sep 1 14:44:05 UTC 2018


    Date: Saturday, September 1, 2018 @ 14:44:04
  Author: dvzrv
Revision: 375951

upgpkg: clxclient 3.9.2-2

Fixing local call to ldconfig properly. Adding AUTHORS file.

Modified:
  clxclient/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-01 14:34:14 UTC (rev 375950)
+++ PKGBUILD	2018-09-01 14:44:04 UTC (rev 375951)
@@ -8,7 +8,7 @@
 
 pkgname=clxclient
 pkgver=3.9.2
-pkgrel=1
+pkgrel=2
 pkgdesc="C++ wrapper library around the X Window System API"
 arch=('x86_64')
 url="https://kokkinizita.linuxaudio.org/linuxaudio/"
@@ -21,9 +21,9 @@
 prepare() {
   cd "$pkgname-$pkgver"
   # removing optimization
-  # patch call to ldconfig to be local (upstream fix requested)
+  # call ldconfig in local context
   sed -e '/native/d' \
-      -e 's/ldconfig/& -N $(PREFIX)\/$(LIBDIR)/' \
+      -e 's/ldconfig/& -N $(DESTDIR)\/$(LIBDIR)/' \
       -i source/Makefile
   # fix global header include
   sed -e 's/<clxclient.h>/\"clxclient.h\"/' -i source/enumip.cc
@@ -36,8 +36,7 @@
 
 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
+  install -vDm 644 ../AUTHORS "${pkgdir}/usr/share/doc/${pkgname}"
 }
 



More information about the arch-commits mailing list