void-packages/srcpkgs/libkgapi/template

33 lines
1.0 KiB
Bash

# Template file for 'libkgapi'
pkgname=libkgapi
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 python3 qt6-tools kf6-kconfig
gettext kf6-kcoreaddons"
makedepends="kf6-kcalendarcore-devel kf6-kcontacts-devel kf6-kio-devel"
short_desc="KDE-based library for accessing various Google services"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/pim/libkgapi"
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
checksum=c43c8405258380cb3c66b91e859a6d9a1949525d2be731d703ea1f4b7ec367c0
do_check() {
:
}
libkgapi-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision} ${makedepends}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}