23 lines
811 B
Bash
23 lines
811 B
Bash
# Template file for 'Clight'
|
|
pkgname=Clight
|
|
version=4.7
|
|
revision=2
|
|
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=a4fc09f118eaa79d5fe9d5f19a2adc323b6401ece7f074e34cb577eec2121833
|
|
|
|
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
|
|
}
|