summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorX3n0m0rph592019-05-09 08:00:57 +0200
committerX3n0m0rph592019-05-09 08:00:57 +0200
commit5422295d7bd6eac441dd64aab369f92991ba3545 (patch)
tree3949165ab896ff3f64fe94c326716227f7a37344
downloadaur-5422295d7bd6eac441dd64aab369f92991ba3545.tar.gz
Initial commit
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD39
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..337c89ce252a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = roccat-vulcan
+ pkgdesc = Linux RGB LED effect support for the Roccat Vulcan 100/120/121 Keyboard
+ pkgver = 0.0.1
+ pkgrel = 0
+ url = https://github.com/X3n0m0rph59/roccat-vulcan
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = systemd-libs
+ makedepends = hidapi
+ makedepends = libevdev
+ source = git+https://github.com/X3n0m0rph59/roccat-vulcan
+ md5sums = SKIP
+
+pkgname = roccat-vulcan
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..5b662a6726e1
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: X3n0m0rph59 <x3n0m0rph59@gmail.com>
+pkgname=roccat-vulcan
+pkgver=0.0.1
+pkgrel=0
+pkgdesc="Linux RGB LED effect support for the Roccat Vulcan 100/120/121 Keyboard"
+arch=('i686' 'x86_64')
+url="https://github.com/X3n0m0rph59/roccat-vulcan"
+license=('GPL')
+groups=()
+depends=()
+makedepends=('systemd-libs' 'hidapi' 'libevdev')
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=()
+install=()
+changelog=
+source=("git+https://github.com/X3n0m0rph59/roccat-vulcan")
+noextract=()
+md5sums=('SKIP')
+
+build() {
+ cd "$pkgname"/src
+
+ make
+}
+
+package() {
+ cd "$pkgname"/src
+
+ mkdir -p "$pkgdir/usr/bin"
+ mkdir -p "$pkgdir/etc/udev/rules.d/"
+
+ install -m 755 "roccat-vulcan" "$pkgdir/usr/bin/"
+ install -m 644 "arch/70-roccat-vulcan.rules" "$pkgdir/etc/udev/rules.d/"
+}
+