void-packages/srcpkgs/libksane/template
2020-07-14 14:26:47 +02:00

27 lines
779 B
Bash

# Template file for 'libksane'
pkgname=libksane
version=20.04.3
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules gettext"
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://kde.org/applications/graphics"
distfiles="${KDE_SITE}/release-service/${version}/src/libksane-${version}.tar.xz"
checksum=34827bcc5b9277292dd4434f2bf7610a28d54c86565f0410d4470c61f374c46e
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
}
}