[arch-commits] Commit in qscintilla/trunk (PKGBUILD)
Andrea Scarpino
andrea at archlinux.org
Thu Mar 31 21:19:18 UTC 2011
Date: Thursday, March 31, 2011 @ 17:19:18
Author: andrea
Revision: 117371
upstream release; merged python2-qscintilla
Modified:
qscintilla/trunk/PKGBUILD
----------+
PKGBUILD | 24 +++++++++++++++++++-----
1 file changed, 19 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-03-31 21:18:56 UTC (rev 117370)
+++ PKGBUILD 2011-03-31 21:19:18 UTC (rev 117371)
@@ -3,16 +3,16 @@
# Contributor: Douglas Soares de Andrade <dsa at aur.archlinux.org>
pkgbase=qscintilla
-pkgname=('qscintilla' 'python-qscintilla')
-pkgver=2.4.6
-pkgrel=8
+pkgname=('qscintilla' 'python-qscintilla' 'python2-qscintilla')
+pkgver=2.5
+pkgrel=1
license=('GPL')
arch=('i686' 'x86_64')
url="http://www.riverbankcomputing.co.uk/software/qscintilla/intro"
makedepends=('python-qt')
source=("http://riverbankcomputing.com/static/Downloads/QScintilla2/QScintilla-gpl-${pkgver}.tar.gz"
'configure.py-objdir-support.diff')
-md5sums=('424a89736b900e6ca5bc6d929cdafaf8'
+md5sums=('c4677b837c16bcb9d806ff04d5a727b8'
'8cf9c06252e2f11ab00e62848e322fd3')
@@ -28,9 +28,15 @@
qmake designer.pro INCLUDEPATH+=../Qt4 QMAKE_LIBDIR+=../Qt4
make
- cd ../Python
+ cd ../
+ cp -rf Python Python2
+ cd Python
python configure.py -n ../Qt4/ -o ../Qt4 -c -p 4
make
+
+ cd ../Python2
+ python2 configure.py -n ../Qt4/ -o ../Qt4 -c -p 4
+ make
}
package_qscintilla() {
@@ -52,3 +58,11 @@
install -Dm755 Qsci.so \
"${pkgdir}/usr/lib/python3.2/site-packages/PyQt4/Qsci.so"
}
+
+package_python2-qscintilla() {
+ pkgdesc="Python 2 bindings for QScintilla2"
+ depends=('qscintilla' 'python2-qt')
+
+ cd "${srcdir}/QScintilla-gpl-${pkgver}/Python2"
+ make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install
+}
More information about the arch-commits
mailing list