void-packages/srcpkgs/libksane/template

24 lines
700 B
Bash

# Template file for 'libksane'
pkgname=libksane
version=18.04.2
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules"
makedepends="qt5-devel libkdepim-devel sane-devel"
short_desc="An 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/${pkgname}-${version}.tar.xz"
checksum=be057f47750d5ae8b9b5bacb332af1b9c603e1636f96b8e8117e49d9be0a8c3a
libksane-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/cmake
}
}