core/kdoctools/PKGBUILD
AlmAck 0003c19031 fix validpgpkeys array propagation
use [@] to get the full array entries, without that only the first element was retrieved
2017-08-10 11:46:06 +02:00

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
}