kdoctools: absolute path to tools

This commit is contained in:
Đoàn Trần Công Danh 2024-05-14 18:39:27 +07:00
parent a3041bc2c9
commit b837cc8bb1
1 changed files with 6 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'kdoctools'
pkgname=kdoctools
version=5.115.0
revision=2
revision=3
build_style=cmake
build_helper=qemu
hostmakedepends="gettext kcoreaddons extra-cmake-modules perl perl-URI
@ -20,6 +20,11 @@ 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}"