void-packages/srcpkgs/libkipi5/template

27 lines
858 B
Bash

# Template file for 'libkipi5'
pkgname=libkipi5
version=18.12.0
revision=1
build_style=cmake
wrksrc="${pkgname%5}-${version}"
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules kdoctools qt5-host-tools qt5-qmake"
makedepends="kxmlgui-devel"
conflicts="libkipi"
short_desc="An interface to use kipi-plugins from a KDE application"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://projects.kde.org/projects/kde/kdegraphics/libs/libkipi"
distfiles="${KDE_SITE}/applications/${version}/src/${pkgname%5}-${version}.tar.xz"
checksum=d0a09a245df74947f2c0428a68b06e89dd69a928de81cff1659e5e7d7a02d631
libkipi5-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}