New package: dotool-1.0

This commit is contained in:
John Gebbie 2022-10-22 19:27:12 +01:00 committed by classabbyamp
parent 398d734a94
commit 4b6e21441c
3 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec vlogger -p daemon.info -t dotoold

View File

@ -0,0 +1,3 @@
#!/bin/sh
exec 2>&1
exec chpst -u _dotoold:input dotoold

20
srcpkgs/dotool/template Normal file
View File

@ -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 <me@johngebbie.com>"
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
}