mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 18:57:13 +08:00
42 lines
1.3 KiB
Bash
42 lines
1.3 KiB
Bash
# $Id: PKGBUILD 79125 2010-04-30 10:17:58Z andrea $
|
|
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
|
|
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
|
|
# Contributor: riai <riai@bigfoot.com> Ben <ben@benmazer.net>
|
|
|
|
pkgname=pyqt
|
|
pkgver=4.7.3
|
|
_pkgver=4.7.3
|
|
pkgrel=1
|
|
pkgdesc="A set of Python bindings for the Qt toolkit"
|
|
arch=('i686' 'x86_64')
|
|
url="http://riverbankcomputing.co.uk/software/pyqt/intro"
|
|
license=('GPL')
|
|
depends=('sip' 'qscintilla' 'dbus-python' 'openssl')
|
|
makedepends=('phonon' 'python-opengl')
|
|
optdepends=('phonon' 'python-opengl')
|
|
provides=('pyqt4')
|
|
replaces=('pyqt4')
|
|
conflicts=('pyqt4')
|
|
source=("http://riverbankcomputing.com/static/Downloads/PyQt4/PyQt-x11-gpl-${_pkgver}.tar.gz")
|
|
md5sums=('42fdda73f07810abba002af8a939ee50')
|
|
|
|
build() {
|
|
cd ${srcdir}/PyQt-x11-gpl-${_pkgver}
|
|
|
|
python configure.py --confirm-license \
|
|
-b /usr/bin \
|
|
-d /usr/lib/python2.6/site-packages \
|
|
-v /usr/share/sip || return 1
|
|
|
|
# Thanks Gerardo for the rpath fix
|
|
find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g'
|
|
|
|
make || return 1
|
|
}
|
|
|
|
package(){
|
|
cd ${srcdir}/PyQt-x11-gpl-${_pkgver}
|
|
# INSTALL_ROOT is needed for the QtDesigner module, the other Makefiles use DESTDIR
|
|
make DESTDIR=${pkgdir} INSTALL_ROOT=${pkgdir} install || return 1
|
|
}
|