summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFederico Di Pierro2019-01-07 21:37:38 +0100
committerFederico Di Pierro2019-01-07 21:37:38 +0100
commita32f37e82119c40221e0dad022f9de57c0e2b7fe (patch)
treed102da3b849e7f75ffb5e4c88d2566e6f66035b6
parent3e91792ac1e9fb1addb88df3a3b6e8af254c3798 (diff)
downloadaur-a32f37e82119c40221e0dad022f9de57c0e2b7fe.tar.gz
Added conflict array.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 6 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5038279818a..8806a6b1d3a 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 cf4944794ff..86d29468697 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")