void-packages/srcpkgs/Clight/template
2021-07-22 21:25:08 -04:00

23 lines
811 B
Bash

# Template file for 'Clight'
pkgname=Clight
version=4.6
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 <monroef4@googlemail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/FedeDP/Clight"
distfiles="https://github.com/FedeDP/Clight/archive/${version}.tar.gz"
checksum=4b5b8d7716ce150d8956f3e741bd56c876eedba41bf391fe484d97de239b76a7
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
}