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

Eric Bélanger eric at archlinux.org
Fri Mar 20 04:02:31 UTC 2009


    Date: Friday, March 20, 2009 @ 00:02:31
  Author: eric
Revision: 30475

upgpkg: qscintilla-qt3 1.7.1-3
    Added license, Updated url

Modified:
  qscintilla-qt3/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-03-20 03:15:20 UTC (rev 30474)
+++ PKGBUILD	2009-03-20 04:02:31 UTC (rev 30475)
@@ -4,25 +4,27 @@
 
 pkgname=qscintilla-qt3
 pkgver=1.7.1
-pkgrel=2
+pkgrel=3
 pkgdesc="QScintilla is a port to Qt3 of Neil Hodgson's Scintilla C++ editor class."
 arch=(i686 x86_64)
-url="http://www.riverbankcomputing.co.uk/qscintilla/index.php"
+url="http://www.riverbankcomputing.co.uk/software/qscintilla/intro/"
+license=('GPL2')
 depends=('qt3')
-pkgurl="http://www.river-bank.demon.co.uk/download/QScintilla/"
-source=(http://www.riverbankcomputing.com/Downloads/QScintilla1/QScintilla-1.71-gpl-$pkgver.tar.gz)
+source=(http://www.riverbankcomputing.co.uk/static/Downloads/QScintilla1/QScintilla-1.71-gpl-$pkgver.tar.gz)
+md5sums=('dfa047b45d4f09ae8d4a8a431ba88a5a')
+
 build() {
   source /etc/profile.d/qt3.sh
-  cd $startdir/src/QScintilla-1.71-gpl-$pkgver
+  cd $srcdir/QScintilla-1.71-gpl-$pkgver
   cd qt
   echo [STARTING sed on qscintilla.pro]
-  sed -i "s%DESTDIR.*%DESTDIR=$startdir/pkg/opt/qt/lib%g" qscintilla.pro
+  sed -i "s%DESTDIR.*%DESTDIR=$pkgdir/opt/qt/lib%g" qscintilla.pro || return 1
   /opt/qt/bin/qmake qscintilla.pro || return 1
   make || return 1
   # installind includes
   for i in qextscintilla*.h
   do
-  install -m 644 -D $i $startdir/pkg/opt/qt/include/$i
+  install -m 644 -D $i $pkgdir/opt/qt/include/$i || return 1
   done
   
   #for i in qscintilla*.qm
@@ -30,4 +32,3 @@
   #install -m 644 -D $i $startdir/pkg/opt/qt/translations/$i
   #done
 }
-md5sums=('dfa047b45d4f09ae8d4a8a431ba88a5a')




More information about the arch-commits mailing list