28 lines
933 B
Bash
28 lines
933 B
Bash
# Template file for 'kidletime'
|
|
pkgname=kidletime
|
|
version=5.112.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="kcoreaddons pkg-config extra-cmake-modules qt5-host-tools qt5-x11extras-devel
|
|
qt5-wayland wayland-devel"
|
|
makedepends="qt5-x11extras-devel libXScrnSaver-devel
|
|
wayland-protocols wayland-devel qt5-wayland-devel
|
|
plasma-wayland-protocols"
|
|
short_desc="Framework for detection and notification of device idle time"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="LGPL-2.0-or-later"
|
|
homepage="https://invent.kde.org/frameworks/kidletime"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=a60ccd76d0c472ab734628329ca3f9520f2f9eea15a549a9e1c7a0e4d412905d
|
|
|
|
kidletime-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"
|
|
}
|
|
}
|