summaryrefslogtreecommitdiffstats
path: root/arch/3.5.13/trinity-base/trinity-pyqt3/PKGBUILD
blob: 47a82b01c51017e1eaee7d026173edd78ee140d8 (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
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>

pkgname=trinity-pyqt3
pkgver=3.18.1
pkgrel=1
pkgdesc="A set of Python bindings for the Qt3 toolkit"
arch=('i686' 'x86_64')
url="http://www.riverbankcomputing.com/software/pyqt/intro"
groups=('trinity-base')
depends=('python2-sip' 'qscintilla-qt3' 'trinity-qt3')
license=('GPL')
provides=('trinity-pyqt3' 'pyqt3')
conflicts=('pyqt3')
replaces=('trinity-pyqt3')
source=("http://www.riverbankcomputing.com/static/Downloads/PyQt3/PyQt-x11-gpl-${pkgver}.tar.gz")
md5sums=('f1d120495d1aaf393819e988c0a7bb7e')

build() {
  cd ${srcdir}/PyQt-x11-gpl-${pkgver}

  . /etc/profile.d/qt3.sh

  export QMAKESPEC="/opt/qt/mkspecs/default"

  echo yes | python2.7 configure.py -q /opt/qt/

  make
}

package() {
  cd ${srcdir}/PyQt-x11-gpl-${pkgver}
  make DESTDIR=${pkgdir} install
}