summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO8
-rw-r--r--90-uinput.rules2
-rw-r--r--PKGBUILD15
-rw-r--r--uhid.conf1
4 files changed, 21 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c2091281948..7795cd00419 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Sat Oct 22 10:07:29 UTC 2016
+# Tue Jan 3 13:15:52 UTC 2017
pkgbase = roccat-tools
pkgdesc = Userland applications to configure and make extended use of ROCCAT devices
pkgver = 5.5.0
- pkgrel = 1
+ pkgrel = 2
url = http://roccat.sourceforge.net
arch = i686
arch = x86_64
@@ -20,7 +20,11 @@ pkgbase = roccat-tools
depends = lua>=5.3
optdepends = kmod-roccat: Adds support for the old kone device.
source = http://downloads.sourceforge.net/project/roccat/roccat-tools/roccat-tools-5.5.0.tar.bz2
+ source = 90-uinput.rules
+ source = uhid.conf
md5sums = 1cd328de42261c736ee275b33c8ecbb8
+ md5sums = d9e6955139aac24c35ef7951a44d919a
+ md5sums = 342d4f032d4d4d64e8a2136fd742c1c9
pkgname = roccat-tools-common
pkgdesc = ROCCAT tools common files
diff --git a/90-uinput.rules b/90-uinput.rules
new file mode 100644
index 00000000000..d113b69d1b5
--- /dev/null
+++ b/90-uinput.rules
@@ -0,0 +1,2 @@
+KERNEL=="uinput", GROUP="roccat", MODE="0660"
+KERNEL=="uhid", GROUP="uinput-users", MODE="0660"
diff --git a/PKGBUILD b/PKGBUILD
index 1d8c53c6188..68a5675de0b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,6 +4,7 @@
# Contributor: Stefan Achatz <erazor_de@users.soruceforge.net>
# Contributor: Zachary Lund <admin@computerquip.com>
# Contributor: Jesus Gonzalez <jesusmgh@gmail.com>
+# Contributor: Francisco Pina-Martins <f.pinamartins@gmail.com>
pkgname=('roccat-tools-common'
'roccat-tools-arvo'
@@ -31,7 +32,7 @@ pkgname=('roccat-tools-common'
'roccat-tools-nyth')
pkgbase=roccat-tools
pkgver=5.5.0
-pkgrel=1
+pkgrel=2
pkgdesc='Userland applications to configure and make extended use of ROCCAT devices'
arch=('i686' 'x86_64')
url='http://roccat.sourceforge.net'
@@ -39,8 +40,12 @@ license=('GPL2')
depends=('libgaminggear>=0.15.0' 'libcanberra' 'gtk2' 'libnotify>=0.7.0' 'dbus-glib' 'udev' 'hicolor-icon-theme' 'libgudev' 'lua>=5.3')
makedepends=('cmake')
optdepends=('kmod-roccat: Adds support for the old kone device.')
-source=("http://downloads.sourceforge.net/project/roccat/roccat-tools/roccat-tools-$pkgver.tar.bz2")
-md5sums=('1cd328de42261c736ee275b33c8ecbb8')
+source=("http://downloads.sourceforge.net/project/roccat/roccat-tools/roccat-tools-$pkgver.tar.bz2"
+ '90-uinput.rules'
+ 'uhid.conf')
+md5sums=('1cd328de42261c736ee275b33c8ecbb8'
+ 'd9e6955139aac24c35ef7951a44d919a'
+ '342d4f032d4d4d64e8a2136fd742c1c9')
build() {
cd "$srcdir/$pkgbase-$pkgver"
@@ -62,6 +67,10 @@ package_roccat-tools-common() {
cd $srcdir/$pkgbase-$pkgver/$i
make DESTDIR="$pkgdir/" install
done
+
+ cd $srcdir
+ install -Dm644 uhid.conf $pkgdir/etc/modules-load.d/uhid.conf
+ install -Dm644 90-uinput.rules $pkgdir/usr/lib/udev/rules.d/90-uinput.rules
}
package_roccat-tools-arvo() {
diff --git a/uhid.conf b/uhid.conf
new file mode 100644
index 00000000000..e602abcbc5c
--- /dev/null
+++ b/uhid.conf
@@ -0,0 +1 @@
+uhid