void-packages/srcpkgs/dotool/template

27 lines
850 B
Bash

# Template file for 'dotool'
pkgname=dotool
version=1.4
revision=1
build_style=go
go_import_path="git.sr.ht/~geb/dotool"
go_ldflags="-X main.Version=${version}"
hostmakedepends="pkg-config scdoc"
makedepends="libxkbcommon-devel"
short_desc="Command to simulate input anywhere (X11, Wayland, TTYs)"
maintainer="André Cerqueira <acerqueira021@gmail.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=f79969ff582fd440061b0ce2cb8c62c9e531976fbbb2929014ed13d2f2d0b83f
system_accounts="_dotoold"
triggers=hwdb.d-dir
post_install() {
cp -v dotoolc dotoold "${DESTDIR}/usr/bin"
vinstall 80-dotool.rules 644 usr/lib/udev/rules.d
vsv dotoold
scdoc < doc/dotool.1.scd > dotool.1
vman dotool.1
}