diff --git a/srcpkgs/interception-tools/files/udevmon/run b/srcpkgs/interception-tools/files/udevmon/run new file mode 100755 index 00000000000..fc2382c51c7 --- /dev/null +++ b/srcpkgs/interception-tools/files/udevmon/run @@ -0,0 +1,12 @@ +#!/bin/sh + +exec 2>&1 + +if [ -r ./conf ]; then + . ./conf + if [ -n "${CONF_FILE}" ]; then + OPTS="${OPTS} -c '${CONF_FILE}'" + fi +fi + +exec udevmon ${OPTS} diff --git a/srcpkgs/interception-tools/template b/srcpkgs/interception-tools/template new file mode 100644 index 00000000000..740b366fc19 --- /dev/null +++ b/srcpkgs/interception-tools/template @@ -0,0 +1,19 @@ +# Template file for 'interception-tools' +pkgname=interception-tools +version=0.6.7 +revision=1 +wrksrc="tools-v${version}" +build_style=cmake +hostmakedepends="pkg-config" +makedepends="boost-devel eudev-libudev-devel libevdev-devel yaml-cpp-devel" +short_desc="Small set of utilities for operating on input events of evdev devices" +maintainer="Sergii Bogomolov " +license="GPL-3.0-only" +homepage="https://gitlab.com/interception/linux/tools" +distfiles="https://gitlab.com/interception/linux/tools/-/archive/v${version}/tools-v${version}.tar.gz" +checksum=58a388899c7bb765c5d35306b57894fb220dc8ab4d37475a33898bb2934bca81 + +post_install() { + vdoc README.md + vsv udevmon +}