void-packages/srcpkgs/libkdcraw5/template

25 lines
790 B
Bash

# Template file for 'libkdcraw5'
pkgname=libkdcraw5
version=18.08.1
revision=2
wrksrc="libkdcraw-${version}"
build_style=cmake
hostmakedepends="extra-cmake-modules pkg-config qt5-qmake qt5-host-tools"
makedepends="qt5-devel libraw-devel"
short_desc="C++ interface around LibRaw library used to decode RAW"
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="GPL-2.0-or-later"
homepage="https://www.kde.org/applications/graphics/"
distfiles="${KDE_SITE}/applications/${version}/src/libkdcraw-${version}.tar.xz"
checksum=2d4cdb8dc4c2b5527ba08afdd670d33e77e377fda231b44ba4a90eee920ee03a
libkdcraw5-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/cmake
}
}