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

Antonio Rojas arojas at archlinux.org
Mon Dec 7 16:36:00 UTC 2015


    Date: Monday, December 7, 2015 @ 17:36:00
  Author: arojas
Revision: 253529

Fix build with cmake 3.4

Modified:
  kdeadmin-kuser/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-12-07 16:28:45 UTC (rev 253528)
+++ PKGBUILD	2015-12-07 16:36:00 UTC (rev 253529)
@@ -13,11 +13,20 @@
 depends=('kdebase-runtime' 'kdepimlibs4')
 makedepends=('cmake' 'automoc4')
 install=${pkgname}.install
-source=("http://download.kde.org/stable/applications/${pkgver}/src/kuser-${pkgver}.tar.xz")
-sha1sums=('45a1ba4913e6dfe0104675151d81527f289703a8')
+source=("http://download.kde.org/stable/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=('45a1ba4913e6dfe0104675151d81527f289703a8'
+          '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