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

Antonio Rojas arojas at archlinux.org
Mon Dec 7 17:09:14 UTC 2015


    Date: Monday, December 7, 2015 @ 18:09:12
  Author: arojas
Revision: 253556

Fix build with cmake 3.4

Modified:
  k3b/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ++++++
 1 file changed, 6 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-12-07 17:03:22 UTC (rev 253555)
+++ PKGBUILD	2015-12-07 17:09:12 UTC (rev 253556)
@@ -22,6 +22,12 @@
 source=(http://download.kde.org/stable/${pkgname}/${pkgname}-${pkgver}.tar.xz)
 sha1sums=('f1001db3b5b32ef6bdb827742f1ca357c82b216f')
 
+prepare() {
+  cd $pkgname-2.0.3
+# Workaround build failure with cmake 3.4
+  sed -e "s|^cmake_minimum_required|#cmake_minimum_required|" -i CMakeLists.txt
+}
+
 build() {
   mkdir build
   cd build



More information about the arch-commits mailing list