30 lines
875 B
Bash
30 lines
875 B
Bash
# Template file for 'kcrash'
|
|
pkgname=kcrash
|
|
version=5.50.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="John <johnz@posteo.net>"
|
|
license="LGPL-2.0-or-later"
|
|
homepage="https://projects.kde.org/projects/frameworks/kcrash"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=846e5febaf0871185b1da6cc33f3620317e7692595a73e793977b570a1f5c202
|
|
|
|
if [ "$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"
|
|
}
|
|
}
|