core/kcrash/PKGBUILD
2014-11-14 22:51:53 +00:00

38 lines
709 B
Bash

# Contributor: Andrea Scarpino <andrea@archlinux.org>
source ../frameworks.conf
pkgname=kcrash
pkgver=${KFVersion}
pkgrel=1
pkgdesc='Support for application crash analysis and bug report from apps'
arch=('x86_64')
url='https://projects.kde.org/projects/frameworks/kcrash'
license=('LGPL')
depends=('kcoreaddons' 'kwindowsystem')
makedepends=("extra-cmake-modules>=${KFECMVersion}")
groups=('kf5')
options=("debug")
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz")
sha256sums=( $(getSum ${pkgname}) )
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
check() {
cd build
xvfb-run make test
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}