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

Andrea Scarpino andrea at archlinux.org
Tue Jul 13 15:27:29 EDT 2010


    Date: Tuesday, July 13, 2010 @ 15:27:29
  Author: andrea
Revision: 85459

upgpkg: qscintilla 2.4.4-1
upstream release

Modified:
  qscintilla/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-07-13 18:40:04 UTC (rev 85458)
+++ PKGBUILD	2010-07-13 19:27:29 UTC (rev 85459)
@@ -5,7 +5,7 @@
 # Contributor: DaNiMoTh <jjdanimoth.aur at gmail.com>
 
 pkgname=qscintilla
-pkgver=2.4.3
+pkgver=2.4.4
 pkgrel=1
 license=('GPL')
 pkgdesc="A port to Qt4 of Neil Hodgson's Scintilla C++ editor class"
@@ -16,8 +16,9 @@
 conflicts=('qscintilla2')
 replaces=('qscintilla2')
 source=("http://riverbankcomputing.com/static/Downloads/QScintilla2/QScintilla-gpl-${pkgver}.tar.gz")
-md5sums=('b1c83d42398493bedb22f4df1868627d')
+md5sums=('db5f21723ea976ddd78c4c3662a21f9c')
 
+
 build() {
     cd $srcdir/QScintilla-gpl-$pkgver/Qt4
     sed -i "s|header.path = .*|header.path = $pkgdir/usr/include|g" qscintilla.pro
@@ -26,7 +27,7 @@
 
     qmake qscintilla.pro
     sed -i 's|$(MOVE) $(TARGET)|$(COPY) $(TARGET)|g' Makefile
-    make DESTDIR=${pkgdir} || return 1
+    make
     
     # Qt4 designer qscintilla2 plugin
     cd ../designer-Qt4
@@ -34,17 +35,17 @@
     echo "INCPATH += ../Qt4" >> designer.pro
     sed -i "s|LIBS.*|LIBS += -L../Qt4 -lqscintilla2|g" designer.pro
     qmake designer.pro
-    make || return 1
+    make
 }
 
 package() {
   cd ${srcdir}/QScintilla-gpl-${pkgver}/Qt4
-  make DESTDIR=${pkgdir} install || return 1
-  cp libqscintilla2.so.5.3.0 ${pkgdir}/usr/lib/ || return 1
-  ln -s libqscintilla2.so.5.3.0 ${pkgdir}/usr/lib/libqscintilla2.so
-  ln -s libqscintilla2.so.5.3.0 ${pkgdir}/usr/lib/libqscintilla2.so.5
-  ln -s libqscintilla2.so.5.3.0 ${pkgdir}/usr/lib/libqscintilla2.so.5.3
+  make DESTDIR="${pkgdir}" install
+  cp libqscintilla2.so.5.4.0 ${pkgdir}/usr/lib/
+  ln -s libqscintilla2.so.5.4.0 ${pkgdir}/usr/lib/libqscintilla2.so
+  ln -s libqscintilla2.so.5.4.0 ${pkgdir}/usr/lib/libqscintilla2.so.5
+  ln -s libqscintilla2.so.5.4.0 ${pkgdir}/usr/lib/libqscintilla2.so.5.4
 
   cd ${srcdir}/QScintilla-gpl-${pkgver}/designer-Qt4
-  cp libqscintillaplugin.so ${pkgdir}/usr/lib/qt/plugins/designer/ || return 1
+  cp libqscintillaplugin.so ${pkgdir}/usr/lib/qt/plugins/designer/
 }



More information about the arch-commits mailing list