summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 6 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5038279818a9..8806a6b1d3af 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = clight
pkgdesc = A C daemon that turns your webcam into a light sensor. It can also change display gamma temperature, dim your screen and set your dpms.
pkgver = 3.1
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/FedeDP/Clight
install = clight.install
arch = i686
@@ -18,6 +18,8 @@ pkgbase = clight
optdepends = geoclue2: to retrieve user location through geoclue2.
optdepends = upower: to save energy by increasing timeouts between captures while on battery and to autocalibrate keyboard backlight.
optdepends = bash-completion: to add support for bash automatic completion.
+ provides = clight
+ conflicts = clight-git
backup = etc/default/clight.conf
source = Clight-3.1.tar.gz::https://github.com/FedeDP/Clight/archive/3.1.tar.gz
sha256sums = 842e639b86f898da225104878543b97d2626a3326e663f84333d075f9e718b89
diff --git a/PKGBUILD b/PKGBUILD
index cf4944794ffe..86d29468697d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=clight
_gitname=Clight
pkgver=3.1
-pkgrel=2
+pkgrel=3
pkgdesc="A C daemon that turns your webcam into a light sensor. It can also change display gamma temperature, dim your screen and set your dpms."
arch=('i686' 'x86_64')
url="https://github.com/FedeDP/${_gitname}"
@@ -14,6 +14,8 @@ makedepends=('git' 'cmake' 'bash-completion')
optdepends=('geoclue2: to retrieve user location through geoclue2.'
'upower: to save energy by increasing timeouts between captures while on battery and to autocalibrate keyboard backlight.'
'bash-completion: to add support for bash automatic completion.')
+provides=('clight')
+conflicts=('clight-git')
source=("${_gitname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
install=clight.install
sha256sums=("842e639b86f898da225104878543b97d2626a3326e663f84333d075f9e718b89")