[arch-commits] Commit in kdebindings-python/kde-unstable (PKGBUILD)

Andrea Scarpino andrea at archlinux.org
Tue May 24 11:26:16 UTC 2011


    Date: Tuesday, May 24, 2011 @ 07:26:16
  Author: andrea
Revision: 124775

KDE 4.7beta1 - fix build in kdebindings-python

Modified:
  kdebindings-python/kde-unstable/PKGBUILD

----------+
 PKGBUILD |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-05-24 10:42:28 UTC (rev 124774)
+++ PKGBUILD	2011-05-24 11:26:16 UTC (rev 124775)
@@ -11,10 +11,15 @@
 groups=('kde' 'kdebindings')
 depends=('kdepim-runtime' 'python2-pyqt' 'qscintilla' 'boost-libs')
 makedepends=('cmake' 'automoc4' 'boost')
-source=("http://download.kde.org/unstable/${pkgver}/src/pykde4-${pkgver}.tar.bz2")
-sha1sums=('f45e40298046ecea382f9b85c34b3e21d856a9da')
+source=("http://download.kde.org/unstable/${pkgver}/src/pykde4-${pkgver}.tar.bz2"
+        'fix-build.patch')
+sha1sums=('f45e40298046ecea382f9b85c34b3e21d856a9da'
+          '3d2329981ea571d38f0354c6d1300a2743a775db')
 
 build() {
+  cd "${srcdir}"/pykde4-${pkgver}
+  patch -p3 -i "${srcdir}"/fix-build.patch
+
   cd "${srcdir}"
   mkdir build
   cd build
@@ -32,3 +37,5 @@
   # Use the python2 executable
   find "${pkgdir}" -name '*.py' | xargs sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|'
 }
+sha1sums=('f45e40298046ecea382f9b85c34b3e21d856a9da'
+          '4eb8917ad922819bbea038d79a9786cf5d0e2767')




More information about the arch-commits mailing list