void-packages/srcpkgs/knotifications/template
2020-07-11 14:06:38 +02:00

26 lines
906 B
Bash

# Template file for 'knotifications'
pkgname=knotifications
version=5.72.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="kcoreaddons 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 <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=1d3f8c06c5b152ae9134ffd8d41224cadbfb43c4183aee389e88086e596ad05f
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"
}
}