alr-repo/kcrash/alr.sh
2024-11-04 20:32:20 +03:00

43 lines
855 B
Bash

name='kcrash'
version='6.7.0'
release='1'
desc='Support for application crash analysis and bug report from apps.'
homepage='https://community.kde.org/Frameworks'
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
architectures=('amd64')
license=('LGPL-2.0-only' 'LGPL-3.0-only')
deps=(
'libgcc'
'glibc'
'kcoreaddons'
'libX11'
'qt6-qtbase'
)
build_deps=(
'doxygen'
'extra-cmake-modules'
'qt6-doctools'
'qt6-qttools-devel'
)
opt_deps=(
'qt6-qtdeclarative: ktranscript plugin and QML bindings'
)
sources=("https://download.kde.org/stable/frameworks/${version%.*}/$name-$version.tar.xz")
checksums=('SKIP')
build() {
cmake -B build -S $name-$version \
-DBUILD_TESTING=OFF \
-DBUILD_QCH=ON
cmake --build build -j$(($(nproc) - 1))
}
package() {
DESTDIR="$pkgdir" cmake --install build
}