core/kdoctools/PKGBUILD

39 lines
772 B
Bash
Raw Normal View History

2014-11-14 06:49:11 +08:00
# 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")
2014-11-14 06:49:11 +08:00
groups=('kf5')
options=('staticlibs' 'debug')
2014-11-15 06:35:29 +08:00
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz")
2014-11-14 06:49:11 +08:00
sha256sums=( $(getSum ${pkgname}) )
prepare() {
mkdir -p build
}
build() {
cd build
2014-11-15 06:49:31 +08:00
cmake_kf5 ../${pkgname}-${pkgver} \
-DPYTHON_EXECUTABLE=/usr/bin/python3
2014-11-14 06:49:11 +08:00
make
}
# check() {
# cd build
# make test
# }
2014-11-14 06:49:11 +08:00
package() {
cd build
make DESTDIR="${pkgdir}" install
}