34 lines
1.2 KiB
Bash
34 lines
1.2 KiB
Bash
# Template file for 'kdoctools'
|
|
pkgname=kdoctools
|
|
version=5.61.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
hostmakedepends="kcoreaddons extra-cmake-modules perl perl-URI"
|
|
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 <johnz@posteo.net>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://projects.kde.org/projects/frameworks/kdoctools"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=e48d8f8f075171c6b83189999a10552c772c6a7e9a115a2643414f9ecec77c6f
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-host-tools qt5-qmake python kdoctools-devel"
|
|
configure_args+=" -DMEINPROC5_EXECUTABLE=/usr/bin/meinproc5"
|
|
configure_args+=" -DCHECKXML5_EXECUTABLE=/usr/bin/checkXML5"
|
|
configure_args+=" -DDOCBOOKL10NHELPER_EXECUTABLE=/usr/bin/docbookl10nhelper"
|
|
fi
|
|
|
|
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
|
|
}
|
|
}
|