void-packages/srcpkgs/knotifications/template

27 lines
903 B
Bash

# Template file for 'knotifications'
pkgname=knotifications
version=5.50.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools qt5-tools"
makedepends="kwindowsystem-devel kcodecs-devel kconfig-devel
kcoreaddons-devel phonon-qt5-devel libdbusmenu-qt5-devel"
short_desc="KDE Desktop notifications"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.1-or-later"
homepage="https://projects.kde.org/projects/frameworks/knotifications"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=5a525a9cda9b29aac858f9ec01179d665b82dcd235f315e75991609ad7144676
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"
}
}