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

David Runge dvzrv at archlinux.org
Sat Dec 2 19:19:32 UTC 2017


    Date: Saturday, December 2, 2017 @ 19:19:22
  Author: dvzrv
Revision: 271918

upgpkg: clxclient 3.9.0-3

Updating maintainer. Switching to sha512sums. Adding info to fix of Makefile. Adding info on install fix (again, Makefile). Minor fixes.

Modified:
  clxclient/trunk/PKGBUILD

----------+
 PKGBUILD |   24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-02 19:15:25 UTC (rev 271917)
+++ PKGBUILD	2017-12-02 19:19:22 UTC (rev 271918)
@@ -1,5 +1,6 @@
 # $Id$
-# Maintainer : speps <speps at aur dot archlinux dot org>
+# 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>
@@ -7,7 +8,7 @@
 
 pkgname=clxclient
 pkgver=3.9.0
-pkgrel=2
+pkgrel=3
 pkgdesc="C++ wrapper library around the X Window System API"
 arch=('x86_64')
 url="http://kokkinizita.linuxaudio.org/linuxaudio/"
@@ -14,23 +15,24 @@
 license=('LGPL')
 depends=('gcc-libs' 'libxft')
 makedepends=('clthreads')
-source=("${url}downloads/$pkgname-$pkgver.tar.bz2")
-md5sums=('bd6df73f688c9be1b3afef58283d7ef5')
+source=("${url}downloads/${pkgname}-${pkgver}.tar.bz2")
+sha512sums=('4bbd621ceeebf3dfc36f0a3d02c63ba1c0e818e691e5c9681e737710824f53a58c682fb2475a7a2bba4f2dfd520166b782977320ceb73de39448cf512e26c842')
 
 prepare() {
   cd "$pkgname-$pkgver"
-  # call ldconfig locally
-  sed -i 's/ldconfig/& -N $(DESTDIR)$(PREFIX)\/$(LIBDIR)/' Makefile
+  # patch call to ldconfig to be not global (upstream fix requested)
+  sed -i 's/ldconfig/& -N $(PREFIX)\/$(LIBDIR)/' Makefile
 }
 
 build() {
-  cd "$pkgname-$pkgver"
-  make PREFIX="$pkgdir/usr" LIBDIR=lib
+  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
+  cd "${pkgname}-${pkgver}"
+  # install of include dir due to broken Makefile (upstream fix requested)
+  install -d "${pkgdir}/usr/include"
+  make PREFIX="${pkgdir}/usr" LIBDIR=lib install
 }
 



More information about the arch-commits mailing list