mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
34 lines
1.1 KiB
Bash
34 lines
1.1 KiB
Bash
# $Id: PKGBUILD 30479 2009-03-20 04:20:11Z eric $
|
|
# Maintainer: 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=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/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() {
|
|
source /etc/profile.d/qt3.sh
|
|
cd $srcdir/QScintilla-1.71-gpl-$pkgver
|
|
cd qt
|
|
echo [STARTING sed on 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 $pkgdir/opt/qt/include/$i || return 1
|
|
done
|
|
|
|
#for i in qscintilla*.qm
|
|
#do
|
|
#install -m 644 -D $i $startdir/pkg/opt/qt/translations/$i
|
|
#done
|
|
}
|