mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 20:57:16 +08:00
0003c19031
use [@] to get the full array entries, without that only the first element was retrieved
41 lines
845 B
Bash
41 lines
845 B
Bash
# Contributor : Andrea Scarpino <andrea@archlinux.org>
|
|
|
|
source ../frameworks.conf
|
|
|
|
pkgname=kdoctools
|
|
pkgver=${KFVersion}
|
|
pkgrel=1
|
|
pkgdesc='Various tools to work with documentation'
|
|
arch=('x86_64')
|
|
url='https://projects.kde.org/projects/frameworks/kdoctools'
|
|
license=('LGPL')
|
|
depends=('karchive' 'docbook-xsl')
|
|
makedepends=("extra-cmake-modules>=${KFECMVersion}" "ki18n" "python3" "perl-uri")
|
|
groups=('kf5')
|
|
options=('staticlibs' 'debug')
|
|
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz"{,.sig})
|
|
sha256sums=( $(getSum ${pkgname})
|
|
SKIP)
|
|
validpgpkeys=( ${KFvalidpgpkeys[@]} )
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${pkgname}-${pkgver} \
|
|
-DPYTHON_EXECUTABLE=/usr/bin/python3
|
|
make
|
|
}
|
|
|
|
# check() {
|
|
# cd build
|
|
# make test
|
|
# }
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|