blob: 97da30f58af2e20e2c07df3eb408c3c7899536f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# $Id: PKGBUILD 55531 2011-09-14 07:43:04Z andrea $
# 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>
pkgname=qscintilla-qt3
pkgver=1.7.1
pkgrel=4
pkgdesc="A port to Qt3 of Neil Hodgson's Scintilla C++ editor class"
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")
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
}
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
done
#for i in qscintilla*.qm
#do
#install -m 644 -D $i "${pkgdir}"/opt/qt/translations/$i
#done
}
|