35 lines
793 B
Bash
Executable File
35 lines
793 B
Bash
Executable File
#!/usr/bin/env bash
|
|
name='kcrash'
|
|
release='4'
|
|
version='6.7.0'
|
|
url='https://community.kde.org/Frameworks'
|
|
description='Support for application crash analysis and bug report from apps'
|
|
email='brkt8khn@gmail.com'
|
|
maintainer='brkt8khn'
|
|
license=('LGPL')
|
|
source=("https://download.kde.org/stable/frameworks/${version%.*}/kcrash-${version}.tar.xz")
|
|
depends=(qt6-base kcoreaddons)
|
|
makedepends=(extra-cmake-modules qt6-tools doxygen)
|
|
sha256sums=('1dc2c65d8ef62ef98457f8ab423b7686de3e713766c06e64d6322aa9db26eea4')
|
|
group=(kde.frameworks)
|
|
uses=()
|
|
arch=('x86_64')
|
|
|
|
cd $name-$version
|
|
|
|
setup () {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DBUILD_QCH=ON
|
|
}
|
|
|
|
build () {
|
|
cmake --build build
|
|
}
|
|
|
|
package () {
|
|
INSTALL_ROOT="$DESTDIR" cmake --install build
|
|
}
|
|
|