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=('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 cd "${srcdir}/PyQtMobility-gpl-${pkgver}"
24 -e QtPublishSubscribe \
26 -e QtServiceFramework \
30 # Thanks Gerardo for the rpath fix
31 find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g'
36 package_pyqt-mobility(){
37 pkgdesc="A set of Python bindings for the Qt Mobility toolkit"
38 depends=('qt' 'python-sip' 'pyqt' 'qt-mobility')
40 cd "${srcdir}/PyQtMobility-gpl-${pkgver}"
41 # INSTALL_ROOT is needed for the QtDesigner module, the other Makefiles use DESTDIR
42 make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install