void-packages/srcpkgs/libksane/template

25 lines
832 B
Bash

# Template file for 'libksane'
pkgname=libksane
version=21.12.3
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"
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=ef8b823a11de933023061641627ab94b802d745ce5310c97469840ed09122232
libksane-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/cmake
}
}