void-packages/srcpkgs/ktexteditor/template

31 lines
1 KiB
Bash
Raw Normal View History

2016-10-13 10:57:10 +00:00
# Template file for 'ktexteditor'
pkgname=ktexteditor
2017-05-14 11:15:44 +00:00
version=5.36.0
revision=2
2016-10-13 10:57:10 +00:00
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
2016-12-07 23:43:06 +00:00
hostmakedepends="extra-cmake-modules pkg-config"
2016-12-20 06:09:48 +00:00
makedepends="kparts-devel libgit2-devel qt5-xmlpatterns-devel syntax-highlighting-devel"
2016-10-13 10:57:10 +00:00
short_desc="KDE Full text editor component"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="LGPL-2"
homepage="https://projects.kde.org/projects/frameworks/ktexteditor"
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
2017-05-14 11:15:44 +00:00
checksum=f9a0109aff18175ef528186e099d0881b977dde7435c433c5541df44b5a18609
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake python kauth kparts"
configure_args+=" -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
fi
2016-10-13 10:57:10 +00:00
ktexteditor-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/qt5/mkspecs
vmove usr/lib/cmake
vmove usr/lib/*.so
}
}