# Template file for 'Clightd' pkgname=Clightd version=4.1 revision=2 build_style=cmake cmake_builddir=build configure_args="-DENABLE_DDC=1 -DENABLE_GAMMA=1 -DENABLE_DPMS=1 -DENABLE_SCREEN=1" hostmakedepends="pkg-config" makedepends="eudev-libudev-devel libmodule-devel polkit-devel elogind-devel libXrandr-devel libXext-devel libX11-devel ddcutil" depends="ddcutil" short_desc="API to read webcam brightness & alter screen brightness/temperature" maintainer="Dominic Monroe " license="GPL-3.0-or-later" homepage="https://github.com/FedeDP/Clightd" distfiles="https://github.com/FedeDP/Clightd/archive/${version}.tar.gz" checksum=1f884489faf9bf53d4a92db3f381a8fb06eb37515f026213a316a3285593686d post_install() { vinstall Scripts/i2c_clightd.conf 644 /usr/lib/modules-load.d/ vsv Clightd }