void-packages/srcpkgs/kdevelop/template
2018-11-15 14:15:40 -02:00

30 lines
1.1 KiB
Bash

# Template file for 'kdevelop'
pkgname=kdevelop
version=5.3.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools"
makedepends="apr-util-devel clang grantlee5-devel kcmutils-devel kdevelop-pg-qt
kitemmodels-devel knewstuff-devel knotifyconfig-devel krunner-devel
ktexteditor-devel libkomparediff2-devel libksysguard-devel llvm okteta-devel
purpose-devel qt5-location-devel qt5-webchannel-devel qt5-webengine-devel
subversion-devel"
depends="cmake cppcheck git indent kde5-baseapps"
short_desc="Integrated Development Environment for C++/C"
maintainer="yopito <pierre.bourgin@free.fr>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://www.kdevelop.org/"
distfiles="${KDE_SITE}/${pkgname}/${version}/src/${pkgname}-${version}.tar.xz"
checksum=7c63d63790293de0bc88b5d1b31dfbe8cf666243d52831eaee51fcb06b3e9f7c
nocross="plasma-framework-devel is not available"
kdevelop-devel_package() {
depends="kdevelop>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
# avoid libkdevcmakecommon.so
vmove "usr/lib/libKDevPlatform*.so"
}
}