18ac65f418
[ci skip]
25 lines
865 B
Bash
25 lines
865 B
Bash
# Template file for 'kidletime'
|
|
pkgname=kidletime
|
|
version=5.77.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
hostmakedepends="kcoreaddons pkg-config extra-cmake-modules qt5-host-tools qt5-x11extras-devel"
|
|
makedepends="qt5-x11extras-devel libXScrnSaver-devel"
|
|
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=84e482e6c3af7fbb534547a87f49084cae1b9a4b6a7f3f26478f2c517d1b937e
|
|
|
|
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"
|
|
}
|
|
}
|