void-packages/srcpkgs/kf6-knotifications/template

27 lines
895 B
Bash

# Template file for 'kf6-knotifications'
pkgname=kf6-knotifications
version=6.1.0
revision=1
build_style=cmake
configure_args="-DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
qt6-declarative-host-tools pkg-config"
makedepends="kf6-kconfig-devel libcanberra-devel"
short_desc="KDE Desktop notifications"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/knotifications"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=02f36f4bc1d2d1094e1b0203a34e037cec78303c6aad9d69f9ac8c7388acfcab
kf6-knotifications-devel_package() {
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}