1 # Maintainer: Max Pray a.k.a. Synthead <synthead@gmail.com>
7 pkgdesc="PyQt: A set of Python2 bindings for the Qt toolkit"
8 url="http://www.riverbankcomputing.co.uk/software/pyqt"
10 depends=('dbus-python' 'python26-sip')
11 makedepends=('qt' 'phonon' 'qt-assistant-compat' 'python26-opengl')
12 source=("http://riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-x11-gpl-$pkgver.tar.gz")
13 md5sums=('0e4264bb912edfbda319bb236ac84407')
16 cd "$srcdir/PyQt-x11-gpl-$pkgver"
17 python26 configure.py --confirm-license -v /usr/share/sip --qsci-api
18 find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g'
23 cd "$srcdir/PyQt-x11-gpl-$pkgver"
24 make DESTDIR="$pkgdir" INSTALL_ROOT="$pkgdir" install
25 rm -rv "$pkgdir"/usr/{bin,lib/qt/plugins/designer/libpythonplugin.so,share/qt/qsci/api/python/PyQt4.api}