Skip to content

Commit

Permalink
kf6-kdoctools: fix dtd schema
Browse files Browse the repository at this point in the history
  • Loading branch information
sgn committed Sep 16, 2024
1 parent d161198 commit 8094774
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions srcpkgs/kf6-kdoctools/template
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# Template file for 'kf6-kdoctools'
pkgname=kf6-kdoctools
version=6.6.0
revision=1
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"
gettext perl perl-URI docbook-xml docbook-xsl"
makedepends="kf6-karchive-devel kf6-ki18n-devel libxslt-devel"
depends="docbook-xml docbook-xsl"
short_desc="KDE Create documentation from DocBook"
maintainer="John <[email protected]>"
Expand All @@ -16,6 +15,13 @@ homepage="https://invent.kde.org/frameworks/kdoctools"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=149e0b442290f8bc9d2a0c99c8e27a5735a3a83870a82de007e487529f0aad44

post_patch() {
vsed -i -e '
s;[$]{CMAKE_INSTALL_DATAROOTDIR};usr/share;
/find_path/s/$/ NO_CMAKE_FIND_ROOT_PATH/
' cmake/FindDocBookXML4.cmake cmake/FindDocBookXSL.cmake
}

kf6-kdoctools-devel_package() {
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
Expand Down

0 comments on commit 8094774

Please sign in to comment.