void-packages/srcpkgs/kdevelop/template
2018-03-11 00:35:55 +01:00

33 lines
1.3 KiB
Bash

# Template file for 'kdevelop'
pkgname=kdevelop
version=5.2.1
revision=3
build_style=cmake
hostmakedepends="extra-cmake-modules"
makedepends="llvm clang qt5-declarative-devel kdeclarative-devel
kcmutils-devel knewstuff-devel knotifyconfig-devel kparts-devel
ktexteditor-devel threadweaver-devel kxmlgui-devel kcrash-devel
kguiaddons-devel karchive-devel knotifications-devel kitemmodels-devel
qt5-webengine-devel qt5-webkit-devel qt5-webchannel-devel
qt5-location-devel libksysguard-devel libkomparediff2-devel
krunner-devel plasma-framework-devel grantlee5-devel okteta5-devel
boost-devel subversion-devel apr-util-devel kdevelop-pg-qt"
depends="kde5-baseapps git cmake cppcheck indent"
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="http://download.kde.org/stable/${pkgname}/${version}/src/${pkgname}-${version}.tar.xz"
checksum=d1c39c563e4fada89eb9f30bd43c6c4beed0fec7ca7d124af587193cfe020650
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
}
}