void-packages/srcpkgs/kdoctools/template
John 44738a435d kdoctoos: use qemu instead of depending on itself for cross builds
Quick benchmarks show, that the build time doesn't get slower by
using qemu, but it makes the template simpler by not having
to specify additional configure_args and not having to
potentially build kdoctools for the host when cross compiling
2021-06-28 13:58:29 +02:00

32 lines
965 B
Bash

# Template file for 'kdoctools'
pkgname=kdoctools
version=5.83.0
revision=1
build_style=cmake
build_helper=qemu
hostmakedepends="gettext kcoreaddons extra-cmake-modules perl perl-URI
qt5-host-tools qt5-qmake"
makedepends="ki18n-devel karchive-devel libxml2-devel libxslt-devel
docbook-xml docbook-xsl"
depends="docbook-xml docbook-xsl"
short_desc="KDE Create documentation from DocBook"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kdoctools"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=d3a4ea0d5c0348fff228aa5ba14a7d3eb00296c0f00b9ac9d4b74e56a89e395b
pre_check() {
export PATH="$PATH:${wrksrc}/build/bin"
}
kdoctools-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/lib/cmake
vmove usr/include
vmove "usr/lib/*.so"
vbin build/bin/docbookl10nhelper
}
}