37 lines
1.0 KiB
Bash
37 lines
1.0 KiB
Bash
# Template file for 'kdoctools'
|
|
pkgname=kdoctools
|
|
version=5.115.0
|
|
revision=3
|
|
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=51e90910f75caf45334961a881082a06c52f292103f1975a5d0a13f39d2fe243
|
|
|
|
pre_check() {
|
|
export PATH="$PATH:${wrksrc}/build/bin"
|
|
}
|
|
|
|
post_install() {
|
|
vsed -e 's;[$]{_IMPORT_PREFIX};/usr;g' \
|
|
-i ${DESTDIR}/usr/lib/cmake/KF5DocTools/KF5DocToolsToolsTargets-*.cmake
|
|
}
|
|
|
|
kdoctools-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/lib/cmake
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|