void-packages/srcpkgs/dotool/template

25 lines
792 B
Bash

# Template file for 'dotool'
pkgname=dotool
version=1.3
revision=2
build_style=go
go_import_path="git.sr.ht/~geb/dotool"
go_ldflags="-X main.Version=${version}"
hostmakedepends="pkg-config"
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=fd17b1d445ce05edcb565a6a4f6a97d3b1bfd066681dc23fc22a2df1c33ab150
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
}