updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / python26-pyqt / PKGBUILD
blob377fb8e453802bd60c98d0cf3b6ddf806a3881df
1 # Maintainer: Max Pray a.k.a. Synthead <synthead@gmail.com>
3 pkgname=python26-pyqt
4 pkgver=4.8.5
5 pkgrel=1
6 arch=('i686' 'x86_64')
7 pkgdesc="PyQt: A set of Python2 bindings for the Qt toolkit"
8 url="http://www.riverbankcomputing.co.uk/software/pyqt"
9 license=('GPL')
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')
15 build() {
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'
19  make
22 package() {
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}