30 lines
896 B
Bash
30 lines
896 B
Bash
# Template file for 'kcrash'
|
|
pkgname=kcrash
|
|
version=5.42.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
hostmakedepends="extra-cmake-modules"
|
|
makedepends="kcoreaddons-devel kwindowsystem-devel"
|
|
short_desc="KDE Graceful handling of application crashes"
|
|
maintainer="Denis Revin <denis.revin@gmail.com>"
|
|
license="LGPL-2"
|
|
homepage="https://projects.kde.org/projects/frameworks/kcrash"
|
|
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=da46566c45d1c6381583f44894f82bdabbaf91a477b4d12206fe0cee5b073e11
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-host-tools kwindowsystem-devel"
|
|
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
|
|
}
|
|
}
|