void-packages/srcpkgs/kontactinterface/template

29 lines
1004 B
Bash

# Template file for 'kontactinterface'
pkgname=kontactinterface
version=24.08.1
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins
-DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt6/mkspecs/modules"
hostmakedepends="extra-cmake-modules qt6-base qt6-tools python3
gettext kf6-kcoreaddons kf6-kconfig"
makedepends="kf6-kparts-devel qt6-base-private-devel"
short_desc="Kontact Plugin Interface Library"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://kontact.kde.org/"
distfiles="${KDE_SITE}/release-service/${version}/src/kontactinterface-${version}.tar.xz"
checksum=fe3bb9c85e09fdab1e94b129618b432f063525a75aaa9755b6122fa4aa43f13a
kontactinterface-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}