void-packages/srcpkgs/kwindowsystem/template

26 lines
896 B
Bash

# Template file for 'kwindowsystem'
pkgname=kwindowsystem
version=5.53.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="pkg-config extra-cmake-modules qt5-host-tools qt5-tools-devel"
makedepends="qt5-tools-devel qt5-x11extras-devel libXfixes-devel xcb-util-keysyms-devel"
short_desc="KDE frameworks - Access to the windowing system"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.1-or-later"
homepage="https://projects.kde.org/projects/frameworks/kwindowsystem"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=9fb2009a1915167e243d4182a5cf8932bfe416b31a2f13f06256f3e1eb5809fd
kwindowsystem-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/qt5/mkspecs
vmove "usr/lib/*.so"
}
}