22 lines
739 B
Bash
22 lines
739 B
Bash
# Template file for 'Clight'
|
|
pkgname=Clight
|
|
version=4.2
|
|
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=fc3c4952c755bad5f4274f69f5cc17142abb51d88d7c615873e3058edc1c1137
|
|
|
|
post_install() {
|
|
vcompletion Extra/_clight zsh
|
|
vcompletion Extra/clight bash
|
|
|
|
vinstall Extra/desktop/clight.desktop 644 usr/share/applications
|
|
}
|