summaryrefslogtreecommitdiffstats
path: root/abs/extra/pyqt/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-08-30 22:26:00 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-08-30 22:26:00 (GMT)
commit1f175a7b07b9553ce98d0546ac04dbb925ec0bc9 (patch)
treec969070115611a8a75f23d468aa5e0cf86a08121 /abs/extra/pyqt/PKGBUILD
parentc4bd4457b5d640e1c8f5afbca7cd54c53691e5fc (diff)
downloadlinhes_pkgbuild-1f175a7b07b9553ce98d0546ac04dbb925ec0bc9.zip
linhes_pkgbuild-1f175a7b07b9553ce98d0546ac04dbb925ec0bc9.tar.gz
linhes_pkgbuild-1f175a7b07b9553ce98d0546ac04dbb925ec0bc9.tar.bz2
RESYNC EXTRA:
synced extra-testing -> extra repo Signed-off-by: James Meyer <james.meyer@operamail.com>
Diffstat (limited to 'abs/extra/pyqt/PKGBUILD')
-rw-r--r--abs/extra/pyqt/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/abs/extra/pyqt/PKGBUILD b/abs/extra/pyqt/PKGBUILD
new file mode 100644
index 0000000..f6645c7
--- /dev/null
+++ b/abs/extra/pyqt/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 47994 2009-07-30 10:33:54Z pierre $
+# Maintainer: Douglas Soares de Andrade <douglas@archlinux.org>
+# Contributor: riai <riai@bigfoot.com> Ben <ben@benmazer.net>
+
+pkgname=pyqt
+pkgver=4.6
+pkgrel=1
+pkgdesc="A set of Python bindings for the Qt toolkit."
+arch=(i686 x86_64)
+url="http://riverbankcomputing.co.uk/software/pyqt/intro"
+depends=('sip>=4.8.2' 'qscintilla>=2.4.0' 'qt>=4.5.2' 'dbus-python' 'openssl')
+license=('GPL')
+provides=('pyqt4')
+replaces=('pyqt4')
+conflicts=('pyqt4')
+source=(http://riverbankcomputing.com/static/Downloads/PyQt4/PyQt-x11-gpl-$pkgver.tar.gz)
+
+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
+
+ # 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
+ make DESTDIR=${pkgdir} install
+}