libksane: fix conflicts with libksane6

This commit is contained in:
Đoàn Trần Công Danh 2024-05-17 20:38:51 +07:00
parent d33df160ec
commit b95a645fc5
1 changed files with 6 additions and 1 deletions

View File

@ -1,11 +1,12 @@
# Template file for 'libksane'
pkgname=libksane
version=23.08.5
revision=1
revision=2
build_style=cmake
hostmakedepends="extra-cmake-modules gettext qt5-qmake qt5-host-tools"
makedepends="qt5-devel sonnet-devel ki18n-devel ktexteditor-devel sane-devel
ksanecore-devel"
depends="libksane6"
short_desc="Image scanning library"
maintainer="travankor <travankor@tuta.io>"
license="LGPL-2.1-or-later"
@ -14,6 +15,10 @@ changelog="https://kde.org/announcements/changelogs/gear/${version}/#libksane"
distfiles="${KDE_SITE}/release-service/${version}/src/libksane-${version}.tar.xz"
checksum=deddff992193fdd5644c4b7b5ac60be34b775e7ad1bd444ea033b0a179242f6e
post_install() {
rm -rf ${DESTDIR}/usr/share
}
libksane-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ksanecore-devel"
short_desc+=" - development files"