void-packages/srcpkgs/libkscreen/template
2018-11-28 06:08:49 -02:00

26 lines
886 B
Bash

# Template file for 'libkscreen'
pkgname=libkscreen
version=5.14.4
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="pkg-config extra-cmake-modules qt5-host-tools qt5-x11extras-devel"
makedepends="qt5-tools-devel qt5-x11extras-devel libXrandr-devel kwayland-devel"
short_desc="KDE screen management software"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.1-or-later"
homepage="https://projects.kde.org/projects/extragear/libs/libkscreen"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=1f20ab00ec5d8a2e99dd400c3cace8d84347a527449fb0e838d0cbaecd72a6d8
libkscreen-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/pkgconfig
vmove "usr/lib/*.so"
}
}