diff --git a/srcpkgs/dotool/files/dotoold/log/run b/srcpkgs/dotool/files/dotoold/log/run new file mode 100755 index 00000000000..762ba9e6cc2 --- /dev/null +++ b/srcpkgs/dotool/files/dotoold/log/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec vlogger -p daemon.info -t dotoold diff --git a/srcpkgs/dotool/files/dotoold/run b/srcpkgs/dotool/files/dotoold/run new file mode 100755 index 00000000000..4f8205c123e --- /dev/null +++ b/srcpkgs/dotool/files/dotoold/run @@ -0,0 +1,3 @@ +#!/bin/sh +exec 2>&1 +exec chpst -u _dotoold:input dotoold diff --git a/srcpkgs/dotool/template b/srcpkgs/dotool/template new file mode 100644 index 00000000000..ab1c583b287 --- /dev/null +++ b/srcpkgs/dotool/template @@ -0,0 +1,20 @@ +# Template file for 'dotool' +pkgname=dotool +version=1.0 +revision=1 +build_style=go +go_import_path="git.sr.ht/~geb/dotool" +short_desc="Command to simulate input anywhere (X11, Wayland, TTYs)" +maintainer="John Gebbie " +license="GPL-3.0-only" +homepage="https://sr.ht/~geb/dotool" +distfiles="https://git.sr.ht/~geb/dotool/archive/${version}.tar.gz" +checksum=b73097f0c7be22e318e8ee446aed8291693a7198d335a82ca624a5887fe8d16d +system_accounts="_dotoold" + +post_install() { + vbin dotoolc + vbin dotoold + vsv dotoold + vinstall 80-dotool.rules 644 usr/lib/udev/rules.d +}