void-packages/srcpkgs/libkipi5/template

28 lines
836 B
Bash

# Template file for 'libkipi5'
pkgname=libkipi5
version=21.04.1
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=e736c0e665798a5948029a73434a834f70fe4073ac1cee8441127dead96af9cf
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"
}
}