void-packages/srcpkgs/libksane/template
2019-02-14 05:06:44 -02:00

27 lines
773 B
Bash

# Template file for 'libksane'
pkgname=libksane
version=18.12.2
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}/applications/${version}/src/libksane-${version}.tar.xz"
checksum=13001e84af522a8323c2d1c2769683958ed112a87b1d375f95d66e57a1c1f8d3
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
}
}