25 lines
875 B
Bash
25 lines
875 B
Bash
# Template file for 'Clight'
|
|
pkgname=Clight
|
|
version=4.9
|
|
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"
|
|
changelog="https://github.com/FedeDP/Clight/releases"
|
|
distfiles="https://github.com/FedeDP/Clight/archive/refs/tags/${version}.tar.gz"
|
|
checksum=638696ee22a3a3340659db37d4e3c6fc2763eee9c8c2f7f227190ad9db7742db
|
|
|
|
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
|
|
}
|