mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-04 07:47:15 +08:00
38 lines
930 B
Bash
38 lines
930 B
Bash
#contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/khelpcenter
|
|
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')
|
|
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} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DLIB_INSTALL_DIR=lib \
|
|
-DLIBEXEC_INSTALL_DIR=lib \
|
|
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
|
|
-DBUILD_TESTING=OFF
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|