summaryrefslogtreecommitdiff
path: root/community/qscintilla-qt3/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/qscintilla-qt3/PKGBUILD')
-rw-r--r--community/qscintilla-qt3/PKGBUILD19
1 files changed, 7 insertions, 12 deletions
diff --git a/community/qscintilla-qt3/PKGBUILD b/community/qscintilla-qt3/PKGBUILD
index 97da30f58..257ea4fb9 100644
--- a/community/qscintilla-qt3/PKGBUILD
+++ b/community/qscintilla-qt3/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 55531 2011-09-14 07:43:04Z andrea $
+# $Id: PKGBUILD 88009 2013-04-09 21:48:46Z eric $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: red_over_blue,Ben <ben@benmazer.net>,Kritoke <kritoke@gamebox.net>
@@ -11,27 +11,22 @@ arch=('i686' 'x86_64')
url="http://www.riverbankcomputing.co.uk/software/qscintilla/intro/"
license=('GPL2')
depends=('qt3')
-source=("http://www.riverbankcomputing.co.uk/static/Downloads/QScintilla1/QScintilla-1.71-gpl-$pkgver.tar.gz")
+source=("http://downloads.sourceforge.net/pyqt/QScintilla-1.71-gpl-$pkgver.tar.gz")
md5sums=('dfa047b45d4f09ae8d4a8a431ba88a5a')
build() {
- . /etc/profile.d/qt3.sh
cd "${srcdir}"/QScintilla-1.71-gpl-$pkgver
cd qt
- sed -i "s%DESTDIR.*%DESTDIR=$pkgdir/opt/qt/lib%g" qscintilla.pro
- /opt/qt/bin/qmake qscintilla.pro
- make
+ sed -i "s%DESTDIR.*%DESTDIR=$pkgdir/usr/lib%g" qscintilla.pro
+ qmake-qt3 qscintilla.pro
+ sed -i 's|$(QTDIR)/include|/usr/include/qt3|' Makefile
+ make MOC=/usr/bin/moc-qt3
}
package() {
cd "${srcdir}"/QScintilla-1.71-gpl-$pkgver/qt
# installind includes
for i in qextscintilla*.h; do
- install -m 644 -D $i "${pkgdir}"/opt/qt/include/$i
+ install -m 644 -D $i "${pkgdir}"/usr/include/qt3/$i
done
-
- #for i in qscintilla*.qm
- #do
- #install -m 644 -D $i "${pkgdir}"/opt/qt/translations/$i
- #done
}