39 lines
1.1 KiB
Bash
39 lines
1.1 KiB
Bash
# Template file for 'kdoctools'
|
|
pkgname=kdoctools
|
|
version=5.94.0
|
|
revision=1
|
|
build_style=cmake
|
|
build_helper=qemu
|
|
configure_args="-DINSTALL_INTERNAL_TOOLS=ON"
|
|
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=f54e61ffe8c5e634e7d6e341020b63346d40b524d4a22565c86b9147033cd2f4
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
configure_args+=" -DDOCBOOKL10NHELPER_EXECUTABLE=/usr/bin/docbookl10nhelper"
|
|
hostmakedepends+=" kdoctools-devel"
|
|
fi
|
|
|
|
pre_check() {
|
|
export PATH="$PATH:${wrksrc}/build/bin"
|
|
}
|
|
|
|
kdoctools-devel_package() {
|
|
short_desc+=" - development"
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/bin/docbookl10nhelper
|
|
vmove usr/lib/cmake
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|