25 lines
862 B
Bash
25 lines
862 B
Bash
# Template file for 'Clight'
|
|
pkgname=Clight
|
|
version=4.11
|
|
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="icp <pangolin@vivaldi.net>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://github.com/FedeDP/Clight"
|
|
changelog="https://github.com/FedeDP/Clight/releases"
|
|
distfiles="https://github.com/FedeDP/Clight/archive/refs/tags/${version}.tar.gz"
|
|
checksum=9a7ec2070b0e1d074477cd219d6894dde9eb85cbe83daebc22054fab29dade34
|
|
|
|
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
|
|
}
|