[arch-commits] Commit in light/trunk (PKGBUILD light.install)

Maxim Baz maximbaz at archlinux.org
Sun Nov 3 20:23:37 UTC 2019


    Date: Sunday, November 3, 2019 @ 20:23:37
  Author: maximbaz
Revision: 522644

Add a post-install note to add user to 'video' group, fixes FS#63845

User is required to be part of 'video' group in order to have access to video devices.
Light fails silently if there is no access.

Added:
  light/trunk/light.install
Modified:
  light/trunk/PKGBUILD

---------------+
 PKGBUILD      |    3 ++-
 light.install |    3 +++
 2 files changed, 5 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-03 20:21:53 UTC (rev 522643)
+++ PKGBUILD	2019-11-03 20:23:37 UTC (rev 522644)
@@ -4,12 +4,13 @@
 
 pkgname=light
 pkgver=1.2
-pkgrel=3
+pkgrel=4
 pkgdesc='Program to easily change brightness on backlight-controllers.'
 arch=('x86_64')
 url='https://github.com/haikarainen/light'
 license=('GPL3')
 depends=('glibc')
+install="${pkgname}.install"
 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/haikarainen/light/archive/v${pkgver}.tar.gz")
 sha256sums=('27dd588f06afbaabf6050abdf5bddc571c71ff26451e3ac6d1f116f80ed7dbbd')
 

Added: light.install
===================================================================
--- light.install	                        (rev 0)
+++ light.install	2019-11-03 20:23:37 UTC (rev 522644)
@@ -0,0 +1,3 @@
+post_install() {
+  printf '====> %s\n' 'Make sure to add your user to the video group.'
+}



More information about the arch-commits mailing list