diff options
author | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
commit | 7a65a910b77ad191d69881098c47f9b0c852d92e (patch) | |
tree | 9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/qscintilla-qt3/PKGBUILD | |
parent | 60da6abff6c9577a783d72865f11de7a585e912e (diff) |
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/qscintilla-qt3/PKGBUILD')
-rw-r--r-- | community/qscintilla-qt3/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/community/qscintilla-qt3/PKGBUILD b/community/qscintilla-qt3/PKGBUILD new file mode 100644 index 000000000..257ea4fb9 --- /dev/null +++ b/community/qscintilla-qt3/PKGBUILD @@ -0,0 +1,32 @@ +# $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> + +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://downloads.sourceforge.net/pyqt/QScintilla-1.71-gpl-$pkgver.tar.gz") +md5sums=('dfa047b45d4f09ae8d4a8a431ba88a5a') + +build() { + cd "${srcdir}"/QScintilla-1.71-gpl-$pkgver + cd qt + 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}"/usr/include/qt3/$i + done +} |