[arch-commits] Commit in kdeadmin-kuser/kde-unstable (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Fri Nov 20 06:57:18 UTC 2015


    Date: Friday, November 20, 2015 @ 07:57:18
  Author: arojas
Revision: 251479

Fix build with cmake 3.4

Modified:
  kdeadmin-kuser/kde-unstable/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-11-20 06:51:29 UTC (rev 251478)
+++ PKGBUILD	2015-11-20 06:57:18 UTC (rev 251479)
@@ -13,11 +13,20 @@
 depends=('kdebase-runtime' 'kdepimlibs4')
 makedepends=('cmake' 'automoc4')
 install=${pkgname}.install
-source=("http://download.kde.org/unstable/applications/${pkgver}/src/kuser-${pkgver}.tar.xz")
-sha1sums=('ea9a823fe5678cb7b923cd3480cc8c40877674ab')
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/kuser-${pkgver}.tar.xz"
+	kuser-cmake-3.4.patch::"https://quickgit.kde.org/?p=kuser.git&a=commitdiff&h=0bf52af&o=plain")
+sha1sums=('ea9a823fe5678cb7b923cd3480cc8c40877674ab'
+          '19f9b3b9bcfe7db167affb5509e5eb09c4eddf7c')
 
+prepare() {
+  mkdir -p build
+
+# Fix build with cmake 3.4
+  cd kuser-$pkgver
+  patch -p1 -i ../kuser-cmake-3.4.patch
+}
+
 build() {
-  mkdir -p build
   cd build
   cmake ../kuser-${pkgver} \
     -DCMAKE_BUILD_TYPE=Release \



More information about the arch-commits mailing list