core/kidletime/PKGBUILD
2018-01-25 00:42:02 +01:00

40 lines
743 B
Bash

# Contributor: Andrea Scarpino <andrea@archlinux.org>
source ../frameworks.conf
pkgname=kidletime
pkgver=${KFVersion}
pkgrel=2
pkgdesc='Monitoring user activity'
arch=('x86_64')
url='https://projects.kde.org/projects/frameworks/kidletime'
license=('LGPL')
depends=('qt5-x11extras' 'libxss')
makedepends=("extra-cmake-modules>=${KFECMVersion}")
groups=('kf5')
options=("debug")
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz"{,.sig})
sha256sums=( $(getSum ${pkgname})
SKIP)
validpgpkeys=( ${KFvalidpgpkeys[@]} )
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
# check() {
# cd build
# make test
# }
package() {
cd build
make DESTDIR="${pkgdir}" install
}