1 # $Id: PKGBUILD 135252 2011-08-11 16:55:55Z miguel angel $
2 # Maintainer: Miguel Angel Rasero <info@linos.es>
3 # modified copy-paste from official PyQt4 Arch package
5 pkgname=('python2-pyqt-mobility')
9 url="http://riverbankcomputing.co.uk/software/pyqtmobility/intro"
11 makedepends=('qt' 'python-sip' 'dbus-python' 'python2-sip' 'phonon'
12 'python-opengl' 'qt-assistant-compat')
13 source=("http://riverbankcomputing.co.uk/static/Downloads/PyQtMobility/PyQtMobility-gpl-${pkgver}.tar.gz")
14 md5sums=('fbec98d04f6256b76f81a067bcaf4bc1')
19 ### Python2 version ###
20 cd "${srcdir}/PyQtMobility-gpl-${pkgver}"
21 python2 configure.py \
25 -e QtPublishSubscribe \
27 -e QtServiceFramework \
32 # Thanks Gerardo for the rpath fix
33 find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g'
38 package_python2-pyqt-mobility(){
39 pkgdesc="PyQt: A set of Python2 bindings for the Qt Mobility toolkit"
40 depends=('python2-sip' 'python2-pyqt' 'pyqt-mobility')
42 cd "${srcdir}/PyQtMobility-gpl-${pkgver}"
43 # INSTALL_ROOT is needed for the QtDesigner module, the other Makefiles use DESTDIR
44 make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install