void-packages/srcpkgs/knotifications/template

29 lines
976 B
Bash

# Template file for 'knotifications'
pkgname=knotifications
version=5.103.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=ON"
hostmakedepends="kcoreaddons extra-cmake-modules qt5-qmake
pkg-config qt5-host-tools qt5-tools"
makedepends="kwindowsystem-devel kcodecs-devel kconfig-devel
kcoreaddons-devel phonon-qt5-devel libdbusmenu-qt5-devel
libcanberra-devel qt5-speech-devel qt5-declarative-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}-${version}.tar.xz"
checksum=8f3ccd6a0303408fecb1e5d9ceb22cbdbf9b1ceb08a92d32b7167dd5e2a8d936
knotifications-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/qt5/mkspecs
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}