Date: Thursday, March 6, 2014 @ 11:33:54
  Author: andrea
Revision: 206922

Fix build with cmake  2.8.12

Modified:
  telepathy-qt/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2014-03-06 06:22:04 UTC (rev 206921)
+++ PKGBUILD    2014-03-06 10:33:54 UTC (rev 206922)
@@ -15,17 +15,23 @@
 replaces=('telepathy-qt4')
 provides=('telepathy-qt4')
 
source=("http://telepathy.freedesktop.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.asc}
-        'farstream-0.2.patch')
+        'farstream-0.2.patch'
+        'cmake.patch')
 md5sums=('94ac93aedf5f6fff49837bc8368e5a37'
-         'e1b851b08b159fca39596ff8395ca53a'
-         '6b2421c59d20d29fece8d5e6445354c7')
+         'SKIP'
+         '6b2421c59d20d29fece8d5e6445354c7'
+         '50e9db71c0e23b59dba1f20a592e4b8d')
 
-build() {
+prepare() {
+    mkdir build
+
     cd ${pkgname}-${pkgver}
     patch -p1 -i "${srcdir}"/farstream-0.2.patch
-    cd ../
+    patch -p1 -i "${srcdir}"/cmake.patch
 
-    mkdir build
+}
+
+build() {
     cd build
     cmake ../${pkgname}-${pkgver} \
         -DCMAKE_BUILD_TYPE=Release \

Reply via email to