28 lines
821 B
Bash
28 lines
821 B
Bash
# Template file for 'qscintilla-qt5'
|
|
pkgname=qscintilla-qt5
|
|
version=2.10
|
|
revision=2
|
|
wrksrc="QScintilla_gpl-${version}"
|
|
build_wrksrc="Qt4Qt5"
|
|
build_style="qmake"
|
|
makedepends="qt5-devel"
|
|
short_desc="A port to Qt5 of Neil Hodgson's Scintilla C++ editor class"
|
|
maintainer="Pierre Allegraud <pierre.allegraud@crans.org>"
|
|
homepage="http://www.riverbankcomputing.co.uk/software/qscintilla/intro"
|
|
license="GPL-3"
|
|
distfiles="${SOURCEFORGE_SITE}/pyqt/${wrksrc}.tar.gz"
|
|
checksum=16be30577bc178470936c458551f2512cc068aff6e7a7de6ed244e28c045f6ec
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
hostmakedepends="qt5-devel"
|
|
fi
|
|
|
|
qscintilla-qt5-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/qt5/mkspecs
|
|
}
|
|
}
|