void-packages/srcpkgs/libgravatar/template

29 lines
982 B
Bash

# Template file for 'libgravatar'
pkgname=libgravatar
version=24.05.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="pimcommon-devel"
short_desc="KDE PIM library providing Gravatar support"
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/libgravatar-${version}.tar.xz"
checksum=c441ba0f2553696598327f6138565d3d5bdfcfa1350ba13473f65e08b3383c73
libgravatar-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}