blob: 493de9d578e44e1374a570bd9b3f1b43ca4ede3b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=py-qt
_pkgname=PyQt
pkgver=4.9.1
pkgrel=0
pkgdesc="A set of Python bindings for the Qt toolkit"
url="http://riverbankcomputing.co.uk/software/pyqt/intro"
arch="all"
license="GPL"
depends="py-sip"
depends_dev="python-dev py-dbus-dev phonon-dev qt-dev py-sip-dev libx11-dev"
makedepends="$depends_dev"
subpackages=""
install=
source="http://riverbankcomputing.co.uk/static/Downloads/${_pkgname}4/${_pkgname}-x11-gpl-$pkgver.tar.gz"
build() {
cd "${srcdir}/PyQt-x11-gpl-${pkgver}"
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
}
package(){
cd "${srcdir}/PyQt-x11-gpl-${pkgver}"
make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install
}
md5sums="7f495dc49f71e3bfb64bf942e0d8bb3c PyQt-x11-gpl-4.9.1.tar.gz"
|