void-packages/srcpkgs/libksane/template

28 lines
776 B
Bash

# Template file for 'libksane'
pkgname=libksane
version=19.12.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules"
makedepends="qt5-devel libkdepim-devel sane-devel"
short_desc="Image scanning library"
maintainer="travankor <travankor@tuta.io>"
license="LGPL-2.1-or-later"
homepage="https://www.kde.org/applications/graphics/"
distfiles="${KDE_SITE}/release-service/${version}/src/libksane-${version}.tar.xz"
checksum=5fdb8903ad4e711a13273002f9818d46e8c64add840f4fd232aad4616a5cdd6c
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-qmake qt5-host-tools"
fi
libksane-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/cmake
}
}