30 lines
901 B
Bash
30 lines
901 B
Bash
# Template file for 'qscintilla-qt5'
|
|
pkgname=qscintilla-qt5
|
|
version=2.11.1
|
|
revision=1
|
|
wrksrc="QScintilla_gpl-${version}"
|
|
build_wrksrc=Qt4Qt5
|
|
build_style=qmake
|
|
hostmakedepends="qt5-qmake"
|
|
makedepends="qt5-devel"
|
|
short_desc="Qt5 port of Neil Hodgson's Scintilla C++ editor class"
|
|
maintainer="Pierre Allegraud <pierre.allegraud@crans.org>"
|
|
license="GPL-3.0-only"
|
|
homepage="https://www.riverbankcomputing.com/software/qscintilla/intro"
|
|
distfiles="https://www.riverbankcomputing.com/static/Downloads/QScintilla/QScintilla_gpl-${version}.tar.gz"
|
|
checksum=dae54d19e43dba5a3f98ac084fc0bcfa6fb713fa851f1783a01404397fd722f5
|
|
|
|
if [ "$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
|
|
}
|
|
}
|