# Template file for 'dotool'
pkgname=dotool
version=1.2
revision=1
build_style=go
go_import_path="git.sr.ht/~geb/dotool"
go_ldflags="-X main.Version=${version}"
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"
changelog="https://git.sr.ht/~geb/dotool/blob/master/CHANGELOG.md"
distfiles="https://git.sr.ht/~geb/dotool/archive/${version}.tar.gz"
checksum=80dcbc1bc4877bbef3eb30cb8c0ad7db161fb76d4999bb9b5f4a484e2267e5a1
system_accounts="_dotoold"

post_install() {
	./_install.sh "${DESTDIR}" /usr/bin
	vinstall 80-dotool.rules 644 usr/lib/udev/rules.d
	vsv dotoold
}
