void-packages/srcpkgs/libkipi5/template

28 lines
836 B
Bash

# Template file for 'libkipi5'
pkgname=libkipi5
version=21.04.0
revision=1
wrksrc="libkipi-${version}"
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules kdoctools qt5-host-tools qt5-qmake
gettext kcoreaddons"
makedepends="kxmlgui-devel"
short_desc="Interface to use kipi-plugins from a KDE application"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-or-later"
homepage="https://invent.kde.org/graphics/libkipi"
distfiles="${KDE_SITE}/release-service/${version}/src/libkipi-${version}.tar.xz"
checksum=0b471aa97a396f4e8f596b14be549618d8fe96925d5469ab402efd80a15b683e
conflicts="libkipi"
libkipi5-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}