4b9ad14475
[ci skip]
29 lines
899 B
Bash
29 lines
899 B
Bash
# Template file for 'kcrash'
|
|
pkgname=kcrash
|
|
version=5.59.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
hostmakedepends="kcoreaddons 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=b1f525dc97ecf41568b175e8d2063b20be630c6a560f060187652307dea82eaa
|
|
|
|
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"
|
|
}
|
|
}
|