23 lines
811 B
Bash
23 lines
811 B
Bash
# Template file for 'Clight'
|
|
pkgname=Clight
|
|
version=4.4
|
|
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=1371ac6f537cec4fc61581dbb6ceb143df08f20e24f884fa148068008864b054
|
|
|
|
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
|
|
}
|