void-packages/srcpkgs/kcrash/template
2021-06-19 11:33:53 +02:00

28 lines
853 B
Bash

# Template file for 'kcrash'
pkgname=kcrash
version=5.83.0
revision=1
build_style=cmake
hostmakedepends="kcoreaddons extra-cmake-modules"
makedepends="kcoreaddons-devel kwindowsystem-devel"
short_desc="KDE Graceful handling of application crashes"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.0-or-later"
homepage="https://invent.kde.org/frameworks/kcrash"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=29ef0273ebd543be5bb9363efe5271fcaaea599463338d8ece625071decfa4c7
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools kwindowsystem-devel kcoreaddons"
fi
kcrash-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"
}
}