diff options
author | Can Altıparmak | 2021-03-13 12:15:29 +0300 |
---|---|---|
committer | Can Altıparmak | 2021-03-13 12:15:29 +0300 |
commit | a9fc5069d74e1269c85fcd6c747335ccb555e37d (patch) | |
tree | dd5dad16e5b6f9bc98081e523dfa831e2d0bb151 | |
parent | 05b85814b54b43fe9bdbd4053c93d01a930dfe51 (diff) | |
download | aur-a9fc5069d74e1269c85fcd6c747335ccb555e37d.tar.gz |
Use input group instead of wheel
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | 99-uinput.rules | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | gfxtablet-git.install | 15 |
4 files changed, 16 insertions, 9 deletions
@@ -1,7 +1,7 @@ pkgbase = gfxtablet-git pkgdesc = Android app to control a virtual Network Tablet on Linux pkgver = 50.128060d - pkgrel = 2 + pkgrel = 3 url = http://github.com/rfc2822/GfxTablet install = gfxtablet-git.install arch = i686 @@ -13,7 +13,7 @@ pkgbase = gfxtablet-git source = gfxtablet-git::git://github.com/rfc2822/GfxTablet.git source = 99-uinput.rules md5sums = SKIP - md5sums = b5d5b8e5291c08302a7a6dff8aa1ebf2 + md5sums = eaa7b50c8714e6c94637a65269d54b81 pkgname = gfxtablet-git diff --git a/99-uinput.rules b/99-uinput.rules index 1c6c9ccdcc9d..40875dc6b05c 100644 --- a/99-uinput.rules +++ b/99-uinput.rules @@ -1 +1 @@ -KERNEL=="uinput", GROUP="wheel", MODE:="0660" +KERNEL=="uinput", GROUP="input", MODE:="0660" @@ -3,7 +3,7 @@ pkgname=gfxtablet-git pkgver=50.128060d -pkgrel=2 +pkgrel=3 pkgdesc="Android app to control a virtual Network Tablet on Linux" arch=('i686' 'x86_64') url="http://github.com/rfc2822/GfxTablet" @@ -14,7 +14,7 @@ conflicts=('gfxtablet') source=("$pkgname"::'git://github.com/rfc2822/GfxTablet.git' '99-uinput.rules') md5sums=('SKIP' - 'b5d5b8e5291c08302a7a6dff8aa1ebf2') + 'eaa7b50c8714e6c94637a65269d54b81') install="${pkgname}.install" pkgver() { diff --git a/gfxtablet-git.install b/gfxtablet-git.install index d2629c023b4c..0465144c3c63 100644 --- a/gfxtablet-git.install +++ b/gfxtablet-git.install @@ -1,9 +1,16 @@ post_install() { - groupadd -r wheel udevadm control -R udevadm trigger - echo "Add yourself to 'wheel' group." - echo "# gpasswd -a <USER> wheel" - echo "You may need to restart X server." + echo "Add yourself to 'input' group." + echo "# gpasswd -a <USER> input" + echo "You may need to log out." +} + +post_upgrade() { + udevadm control -R + udevadm trigger + echo "Add yourself to 'input' group." + echo "# gpasswd -a <USER> input" + echo "You may need to log out." } |