void-packages/srcpkgs/kdoctools/template

25 lines
850 B
Bash

# Template file for 'kdoctools'
pkgname=kdoctools
version=5.26.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules perl perl-URI docbook-xml docbook-xsl"
makedepends="ki18n-devel karchive-devel libxml2-devel libxslt-devel"
depends="docbook-xml docbook-xsl"
short_desc="KDE Create documentation from DocBook"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="LGPL-2"
homepage="https://projects.kde.org/projects/frameworks/kdoctools"
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=48c9f4c3f5c68c9f82cd526bf9bfe136319fd64b16acc5f7ec0c70c5c353068c
kdoctools-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/lib/cmake
vmove usr/lib/*.a
}
}