c96b3cf5f2
[ci skip]
29 lines
890 B
Bash
29 lines
890 B
Bash
# Template file for 'kcrash'
|
|
pkgname=kcrash
|
|
version=5.75.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 <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=1c8950bf699e4df86c2ebe29a364be53017b45d127c1d052c7ac4ef13b96db3a
|
|
|
|
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"
|
|
}
|
|
}
|