blob: 6cd6361a4003b589ca1bdd0fc5931b59b71b74af (
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.8.5
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="0e4264bb912edfbda319bb236ac84407 PyQt-x11-gpl-4.8.5.tar.gz"
|