void-packages/srcpkgs/kf6-kdoctools/template

31 lines
1.0 KiB
Bash

# Template file for 'kf6-kdoctools'
pkgname=kf6-kdoctools
version=6.3.0
revision=2
build_style=cmake
build_helper=qemu
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
gettext perl perl-URI"
makedepends="kf6-karchive-devel kf6-ki18n-devel
docbook-xml docbook-xsl libxslt-devel"
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#kf6-}-${version}.tar.xz"
checksum=4b50ed15b9dbd08a5b379bd32ed1b47ee80971abbe0c7a2570b749a665c7854a
kf6-kdoctools-devel_package() {
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
mkdir -p "${DESTDIR}/usr/lib/cmake/KF6DocTools"
mv ${PKGDESTDIR}/usr/lib/cmake/KF6DocTools/KF6DocToolsTools* \
"${DESTDIR}/usr/lib/cmake/KF6DocTools"
vmove "usr/lib/*.so"
}
}