mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
36 lines
968 B
Bash
36 lines
968 B
Bash
#contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/khelpcenter
|
|
source ../kdeapps.conf
|
|
|
|
pkgname=khelpcenter
|
|
pkgver=${_kdever}
|
|
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' 'kinit' 'kdoctools' 'xapian-core' 'grantlee')
|
|
makedepends=('extra-cmake-modules' 'python3')
|
|
groups=('kde' 'kde-minimal' 'kde-uninstall')
|
|
options=("debug")
|
|
conflicts=('khelpcenter4' 'kde-runtime-doc')
|
|
replaces=('khelpcenter4' 'kde-runtime-doc')
|
|
source=("$_mirror/${pkgname}-$_kdever.tar.xz"{,.sig})
|
|
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../kdeapps.sums | cut -d " " -f1`
|
|
'SKIP')
|
|
validpgpkeys=(${Avalidpgpkeys[@]})
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${pkgname}-${pkgver}
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|