void-packages/srcpkgs/pimcommon/template

37 lines
1.5 KiB
Bash

# Template file for 'pimcommon'
pkgname=pimcommon
version=24.02.2
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-kconfig kf6-kcmutils"
makedepends="kf6-ktextwidgets-devel kf6-kcmutils-devel kf6-karchive-devel
kf6-kcodecs-devel kf6-kcompletion-devel kf6-kconfig-devel
kf6-kconfigwidgets-devel kf6-kcontacts-devel kf6-kcoreaddons-devel
kf6-kdbusaddons-devel kf6-ki18n-devel kf6-kiconthemes-devel kf6-kio-devel
kf6-kitemmodels-devel kf6-kjobwidgets-devel kf6-knewstuff-devel
kf6-kservice-devel kf6-ktexttemplate-devel kf6-kwidgetsaddons-devel
kf6-kxmlgui-devel kf6-purpose-devel kmime6-devel libkdepim-devel kimap-devel
kpimtextedit-devel ktextaddons-devel kf6-akonadi-devel akonadi-contacts-devel
kldap-devel akonadi-search-devel"
short_desc="Common libraries for KDE PIM"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://community.kde.org/KDE_PIM"
distfiles="${KDE_SITE}/release-service/${version}/src/pimcommon-${version}.tar.xz"
checksum=4640dc276f9a0e6b0c25e25815d73b7cc658c8d73dd504d295e96a583a27d770
pimcommon-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}