blob: 7ac1e01d52ced878f725c25ce064f1e11c9dbfbb (
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
33
|
# $Id: PKGBUILD 77656 2012-10-13 11:44:31Z allan $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: riai <riai@bigfoot.com> Ben <ben@benmazer.net>
pkgname=pyqt3
pkgver=3.18.1
pkgrel=11
pkgdesc="A set of Python bindings for the Qt3 toolkit"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.riverbankcomputing.com/software/pyqt/intro"
depends=('python2-sip' 'qscintilla-qt3')
makedepends=('glu')
license=('GPL')
source=("http://www.riverbankcomputing.com/static/Downloads/PyQt3/PyQt-x11-gpl-${pkgver}.tar.gz"
"PyQt-x11-gpl-3.18.1-configure.patch")
md5sums=('f1d120495d1aaf393819e988c0a7bb7e'
'd0e3e6b5bd20ace9e567a5ebaeed83e1')
build() {
cd ${srcdir}/PyQt-x11-gpl-${pkgver}
patch -Np1 -i ${srcdir}/PyQt-x11-gpl-3.18.1-configure.patch
. /etc/profile.d/qt3.sh
echo yes | python2 configure.py -b /usr/bin \
-d /usr/lib/python2.7/site-packages \
-v /usr/share/sip
make
}
package() {
cd ${srcdir}/PyQt-x11-gpl-${pkgver}
make DESTDIR=${pkgdir} install
}
|