void-packages/srcpkgs/libkipi5/template

28 lines
836 B
Bash

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