31 lines
934 B
Bash
31 lines
934 B
Bash
# Template file for 'libksane'
|
|
pkgname=libksane
|
|
version=24.08.0
|
|
revision=1
|
|
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"
|
|
homepage="https://kde.org/applications/graphics"
|
|
changelog="https://kde.org/announcements/changelogs/gear/${version}/#libksane"
|
|
distfiles="${KDE_SITE}/release-service/${version}/src/libksane-${version}.tar.xz"
|
|
checksum=4bfbc56289b18fc020809d5cb89185094783370728e02b7cdd2a3832b609bb3d
|
|
|
|
post_install() {
|
|
rm -rf ${DESTDIR}/usr/share
|
|
}
|
|
|
|
libksane-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision} ksanecore-devel"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/cmake
|
|
}
|
|
}
|