summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/qscintilla
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-10-03 19:50:46 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-10-03 19:50:46 (GMT)
commite6ac1b75d57fc29b215c68d927b09605134e3245 (patch)
treee83cebe800e817e5379b3bbb621812978fa595df /abs/extra-testing/qscintilla
parenteed71a24e7d8c414f004ecf511f0aaaebd3db48d (diff)
parent5d889fb952d06aad4d8adeb8a7dcbec3ca6ddb23 (diff)
downloadlinhes_pkgbuild-e6ac1b75d57fc29b215c68d927b09605134e3245.zip
linhes_pkgbuild-e6ac1b75d57fc29b215c68d927b09605134e3245.tar.gz
linhes_pkgbuild-e6ac1b75d57fc29b215c68d927b09605134e3245.tar.bz2
Merge branch 'HEAD' of ssh://cesman@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/extra-testing/qscintilla')
-rw-r--r--abs/extra-testing/qscintilla/ChangeLog13
-rw-r--r--abs/extra-testing/qscintilla/PKGBUILD55
2 files changed, 68 insertions, 0 deletions
diff --git a/abs/extra-testing/qscintilla/ChangeLog b/abs/extra-testing/qscintilla/ChangeLog
new file mode 100644
index 0000000..8e78889
--- /dev/null
+++ b/abs/extra-testing/qscintilla/ChangeLog
@@ -0,0 +1,13 @@
+
+2008-11-22 Douglas Soares de Andrade <douglas@archlinux.org>
+
+ * Updated for i686: 2.3.2
+
+2008-10-15 Douglas Soares de Andrade <douglas@archlinux.org>
+
+ * Updated for i686: 2.3
+
+2008-07-06 Douglas Soares de Andrade <douglas@archlinux.org>
+
+ * Updated for i686: 2.2
+
diff --git a/abs/extra-testing/qscintilla/PKGBUILD b/abs/extra-testing/qscintilla/PKGBUILD
new file mode 100644
index 0000000..9b3bf94
--- /dev/null
+++ b/abs/extra-testing/qscintilla/PKGBUILD
@@ -0,0 +1,55 @@
+# $Id: PKGBUILD 46926 2009-07-22 04:56:17Z pierre $
+# Maintainer: Douglas Soares de Andrade <dsa@aur.archlinux.org>
+# Contributor: Michal Krenek <mikos@sg1.cz>
+# Bug #8577 Modifications made by DaNiMoTh <jjdanimoth.aur@gmail.com>
+
+pkgname=qscintilla
+pkgver=2.4.0
+_pkgver=2.4
+pkgrel=1
+license=('GPL')
+pkgdesc="A port to Qt4 of Neil Hodgson's Scintilla C++ editor class."
+arch=('i686' 'x86_64')
+url="http://www.riverbankcomputing.co.uk/software/qscintilla/download"
+depends=('qt')
+provides=('qscintilla2')
+conflicts=('qscintilla2')
+replaces=('qscintilla2')
+source=(http://riverbankcomputing.com/static/Downloads/QScintilla2/QScintilla-gpl-$_pkgver.tar.gz)
+md5sums=('dd69520ec91f1acb97a4eb74ddde37c9')
+
+build() {
+ cd $srcdir/QScintilla-gpl-$_pkgver/Qt4
+ sed -i "s|DESTDIR = .*|DESTDIR = $pkgdir/usr/lib|g" qscintilla.pro
+ sed -i "s|header.path = .*|header.path = $pkgdir/usr/include|g" qscintilla.pro
+ sed -i "s|trans.path = .*|trans.path = $pkgdir/usr/share/qt/translations|g" qscintilla.pro
+ sed -i "s|qsci.path = .*|qsci.path = $pkgdir/usr/share/qt/translations|g" qscintilla.pro
+
+ qmake qscintilla.pro
+ sed -i 's|$(MOVE) $(TARGET)|$(COPY) $(TARGET)|g' Makefile
+ make || return 1
+ make DESTDIR=$pkgdir install
+
+ cd ../designer-Qt4
+
+ # Qt4 designer qscintilla2 plugin
+ mkdir -p $pkgdir/usr/lib/qt/plugins/designer
+
+ echo "INCPATH += ../Qt4" >> designer.pro
+ sed -i "s|LIBS.*|LIBS += -L../Qt4 -lqscintilla2|g" designer.pro
+ qmake designer.pro
+ make || return 1
+ cp libqscintillaplugin.so $pkgdir/usr/lib/qt/plugins/designer/ || return 1
+
+ msg "Installing the libs to the right place"
+
+ cd ../Qt4
+
+ cp libqscintilla2.so.5.1.0 $pkgdir/usr/lib/ || return 1
+
+ pushd $pkgdir/usr/lib/
+ ln -s libqscintilla2.so.5.1.0 libqscintilla2.so
+ ln -s libqscintilla2.so.5.1.0 libqscintilla2.so.5
+ ln -s libqscintilla2.so.5.1.0 libqscintilla2.so.5.1
+ popd
+}