kdecoration: fix conflicts with kf6-kdecoration

This commit is contained in:
Đoàn Trần Công Danh 2024-05-12 10:31:43 +07:00
parent 1a47dd3d9e
commit d8231356f2
1 changed files with 6 additions and 1 deletions

View File

@ -1,12 +1,13 @@
# Template file for 'kdecoration'
pkgname=kdecoration
version=5.27.11
revision=1
revision=2
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules gettext qt5-qmake qt5-devel
kcoreaddons"
makedepends="qt5-devel ki18n-devel kcoreaddons-devel"
depends="kf6-kdecoration"
short_desc="KDE Plugin based library to create window decorations"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
@ -14,6 +15,10 @@ homepage="https://invent.kde.org/plasma/kdecoration"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=71c417461993923a2245b6f954ff72fb1737bc10db218ca9595194017cf1f838
post_install() {
rm -rf "${DESTDIR}/usr/share/locale"
}
kdecoration-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"