# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=py-qt _pkgname=PyQt pkgver=4.11.4 pkgrel=1 pkgdesc="A set of Python bindings for the Qt toolkit" url="http://riverbankcomputing.co.uk/software/pyqt/intro" arch="all" license="GPL2+" depends="py-sip" makedepends="python-dev py-dbus-dev phonon-dev qt-dev py-sip-dev libx11-dev" subpackages="" install="" source="http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-$pkgver/PyQt-x11-gpl-$pkgver.tar.gz" _builddir="${srcdir}/PyQt-x11-gpl-${pkgver}" build() { cd "$_builddir" python configure.py \ --confirm-license \ -v /usr/share/sip \ --qsci-api # Thanks Gerardo for the rpath fix find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g' make || return 1 } package(){ cd "$_builddir" make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install || return 1 } md5sums="2fe8265b2ae2fc593241c2c84d09d481 PyQt-x11-gpl-4.11.4.tar.gz" sha256sums="fc1fe77495432ba3b0d74ff5cb164d375a97f5dddb728256330f615a7cdcf407 PyQt-x11-gpl-4.11.4.tar.gz" sha512sums="58d0c5e30b0480c1b6ce1a3cc3ef0a1841bb15631830fb937d1f17f5d3d8cbe66a5e2adcfb2c3990fae38db66dd430668bd25413e254e72064a38c48f689f170 PyQt-x11-gpl-4.11.4.tar.gz"