summaryrefslogtreecommitdiff
path: root/staging/kdebindings-python/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'staging/kdebindings-python/PKGBUILD')
-rw-r--r--staging/kdebindings-python/PKGBUILD25
1 files changed, 16 insertions, 9 deletions
diff --git a/staging/kdebindings-python/PKGBUILD b/staging/kdebindings-python/PKGBUILD
index ad995b59e..089744aa4 100644
--- a/staging/kdebindings-python/PKGBUILD
+++ b/staging/kdebindings-python/PKGBUILD
@@ -1,29 +1,36 @@
-# $Id: PKGBUILD 160989 2012-06-07 20:23:50Z andrea $
+# $Id: PKGBUILD 167875 2012-10-03 15:10:39Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgbase=kdebindings-python
pkgname=('kdebindings-python'
'kdebindings-python2')
-pkgver=4.8.4
-pkgrel=1
-url='http://kde.org/'
+pkgver=4.9.2
+pkgrel=2
+url='https://projects.kde.org/projects/kde/kdebindings/pykde4'
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL')
groups=('kdebindings')
-makedepends=('cmake' 'automoc4' 'boost' 'kdepim-runtime' 'python2-pyqt' 'qscintilla')
-source=("http://download.kde.org/stable/${pkgver}/src/pykde4-${pkgver}.tar.xz")
-sha1sums=('e629d7a1d7d1aa1d1dd24769dc5412a60b6ac256')
+makedepends=('cmake' 'automoc4' 'boost' 'kdepim-runtime' 'python2-pyqt'
+ 'pyqt' 'qscintilla' 'python2-sip' 'python-sip')
+source=("http://download.kde.org/stable/${pkgver}/src/pykde4-${pkgver}.tar.xz"
+ 'pyqt495.patch')
+sha1sums=('44b3f02797c43a59f8c3a91131a2488a733cfa11'
+ '17b699b9096d10e118ef49fbe5e4cd5687e676a5')
build() {
export PYTHONDONTWRITEBYTECODE="TRUE"
- cd "${srcdir}"
+ cd pykde4-${pkgver}
+ patch -p1 -i "${srcdir}"/pyqt495.patch
+ cd ../
+
mkdir build
cd build
cmake ../pykde4-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DPYTHON_LIBRARY=/usr/lib/libpython3.2mu.so.1.0
+ -DPYTHON_EXECUTABLE=/usr/bin/python3 \
+ -DPYTHON_LIBRARY=/usr/lib/libpython3.3m.so.1.0
make
cd ..