kf6-kwindowsystem: fix cmake script

This commit is contained in:
Đoàn Trần Công Danh 2024-09-16 22:26:54 +07:00
parent ae80fd69f8
commit d161198813
1 changed files with 6 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'kf6-kwindowsystem'
pkgname=kf6-kwindowsystem
version=6.6.0
revision=1
revision=2
build_style=cmake
configure_args="-DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
@ -16,6 +16,11 @@ homepage="https://invent.kde.org/frameworks/kwindowsystem"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=2c771ebf1a297774305dfcf79423db0684da0662eacb99e5740b00f3ffe332e5
post_install() {
sed -i -e 's:/usr/[a-z0-9-]*/usr/include;::' \
${DESTDIR}/usr/lib/cmake/*/*Targets.cmake
}
do_check() {
cd build
# disable failing tests