mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 14:27:15 +08:00
37 lines
695 B
Bash
37 lines
695 B
Bash
source ../plasma.conf
|
|
|
|
pkgname=khelpcenter
|
|
pkgver=${PVersion}
|
|
pkgrel=1
|
|
pkgdesc="Application to show KDE Applications' documentation"
|
|
arch=('x86_64')
|
|
url='https://projects.kde.org/projects/kde/workspace/khelpcenter'
|
|
license=('LGPL')
|
|
depends=('khtml' 'kdelibs4support' 'kcmutils')
|
|
makedepends=('extra-cmake-modules' 'kdoctools')
|
|
checkdepends=("cmake")
|
|
groups=('plasma')
|
|
options=("debug")
|
|
source=("${PServer}/${pkgver}/${pkgname}-${PSubVersion}.tar.xz")
|
|
sha256sums=( $(getSum ${pkgname}) )
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${pkgname}-${pkgver}
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd build
|
|
make test || return 0
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|