-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
24 lines (22 loc) · 862 Bytes
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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
}