# Template file for 'Clight' pkgname=Clight version=4.5 revision=1 build_style=cmake hostmakedepends="pkg-config" makedepends="popt-devel gsl-devel libconfig-devel elogind-devel bash-completion dbus-devel libmodule-devel" depends="Clightd>=5.0" short_desc="Use your webcam as a light sensor to adjust screen backlight" maintainer="Dominic Monroe " license="GPL-3.0-or-later" homepage="https://github.com/FedeDP/Clight" distfiles="https://github.com/FedeDP/Clight/archive/${version}.tar.gz" checksum=2ce204edd58284c178b99e2ffec0105fc8e78d8a076350f64424b66c9878e91e post_install() { vcompletion Extra/completions/_clight zsh vcompletion Extra/completions/clight bash vcompletion Extra/completions/clight.fish fish vinstall Extra/desktop/clight.desktop 644 usr/share/applications }