[arch-commits] Commit in qscintilla/trunk (PKGBUILD)

Andrea Scarpino andrea at archlinux.org
Sat Jan 22 08:42:16 EST 2011


    Date: Saturday, January 22, 2011 @ 08:42:16
  Author: andrea
Revision: 107199

upgpkg: qscintilla 2.4.6-5
move python stuff again in python2-qscintilla

Modified:
  qscintilla/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++-----------
 1 file changed, 5 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-22 10:37:28 UTC (rev 107198)
+++ PKGBUILD	2011-01-22 13:42:16 UTC (rev 107199)
@@ -5,7 +5,7 @@
 pkgbase=qscintilla
 pkgname=('qscintilla' 'python-qscintilla')
 pkgver=2.4.6
-pkgrel=4
+pkgrel=5
 license=('GPL')
 arch=('i686' 'x86_64')
 url="http://www.riverbankcomputing.co.uk/software/qscintilla/intro"
@@ -17,7 +17,7 @@
 
 
 build() {
-    cd $srcdir/QScintilla-gpl-$pkgver
+    cd "${srcdir}/QScintilla-gpl-${pkgver}" 
     patch -Np1 -i "${srcdir}/configure.py-objdir-support.diff"
 
     cd Qt4
@@ -37,17 +37,11 @@
     pkgdesc="A port to Qt4 of Neil Hodgson's Scintilla C++ editor class"
     depends=('qt')
 
-    cd ${srcdir}/QScintilla-gpl-${pkgver}/Qt4
+    cd "${srcdir}/QScintilla-gpl-${pkgver}/Qt4"
     make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install
 
-    cd ${srcdir}/QScintilla-gpl-${pkgver}/designer-Qt4
+    cd "${srcdir}/QScintilla-gpl-${pkgver}/designer-Qt4"
     make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install
-    
-    cd ${srcdir}/QScintilla-gpl-${pkgver}/Python
-    make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install
-
-    # Provided by python-qscintilla
-    rm ${pkgdir}/usr/lib/python3.1/site-packages/PyQt4/Qsci.so
 }
 
 package_python-qscintilla() {
@@ -56,5 +50,5 @@
 
     cd "${srcdir}/QScintilla-gpl-${pkgver}/Python"
     install -Dm755 Qsci.so \
-      ${pkgdir}/usr/lib/python3.1/site-packages/PyQt4/Qsci.so
+      "${pkgdir}/usr/lib/python3.1/site-packages/PyQt4/Qsci.so"
 }



More information about the arch-commits mailing list