diff --git a/srcpkgs/roccat-tools/INSTALL.msg b/srcpkgs/roccat-tools/INSTALL.msg new file mode 100644 index 0000000000..bd31b1e493 --- /dev/null +++ b/srcpkgs/roccat-tools/INSTALL.msg @@ -0,0 +1,2 @@ +Add users to the "_roccat" group to allow them to use the tools to +configure gaming devices. diff --git a/srcpkgs/roccat-tools/template b/srcpkgs/roccat-tools/template new file mode 100644 index 0000000000..618947fc9a --- /dev/null +++ b/srcpkgs/roccat-tools/template @@ -0,0 +1,27 @@ +# Template file for 'roccat-tools' +pkgname=roccat-tools +version=5.7.0 +revision=1 +build_style=cmake +configure_args=" + -DDEVICES=arvo;isku;iskufx;kiro;kone;koneplus;konepure;konepuremilitary;konepureoptical;konextd;konextdoptical;kovaplus;kova2016;lua;nyth;pyra;ryosmk;ryosmkfx;ryostkl;savu;skeltr;sova;suora;tyon + -DWITH_LUA=5.3 + -DUDEVDIR=/usr/lib/udev/rules.d -DCMAKE_MODULE_PATH=/usr/lib/cmake" +make_dirs="/var/lib/roccat 2770 root roccat" +hostmakedepends="pkg-config glib-devel" +makedepends="lua-devel gtk+-devel libgaminggear-devel dbus-glib-devel + libgudev-devel" +short_desc="Roccat mouse and keyboard drivers" +maintainer="Alexander Gehrke " +license="GPL-2.0-only" +homepage="https://roccat.sourceforge.net" +distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2" +checksum=a6e21315c06e072fcea79c185518c8d2c8f19ed9681633613f26085319bdfd95 +system_groups="_roccat" +nocross="Compiler tries to run compiled code for testing + https://travis-ci.org/void-linux/void-packages/jobs/477591350#L1740" + +pre_install() { + sed -i -e 's/GROUP="roccat"/GROUP="_roccat"/g' \ + -e 's/chgrp roccat/chgrp _roccat/' udev/* +}