mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-20 16:12:22 +01:00
30 lines
927 B
Plaintext
30 lines
927 B
Plaintext
# Contributor: John Gebbie <me@johngebbie.com>
|
|
# Maintainer: John Gebbie <me@johngebbie.com>
|
|
pkgname=dotool
|
|
pkgver=1.3
|
|
pkgrel=0
|
|
pkgdesc="Command to simulate input anywhere (X11, Wayland, TTYs)"
|
|
url="https://sr.ht/~geb/dotool"
|
|
arch="all"
|
|
license="GPL-3.0-only"
|
|
makedepends="go libxkbcommon-dev"
|
|
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~geb/dotool/archive/$pkgver.tar.gz"
|
|
options="!check" # no test suite
|
|
|
|
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
|
|
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
|
|
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
|
|
|
|
build() {
|
|
go build -ldflags "-X main.Version=$pkgver"
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 dotool dotoolc dotoold -t "$pkgdir"/usr/bin
|
|
install -Dm644 "$builddir"/80-dotool.rules -t "$pkgdir"/usr/lib/udev/rules.d
|
|
}
|
|
|
|
sha512sums="
|
|
1f786c5769e7ddfc53c921a4920909632cbd4c2e89df7b6ba5f6b075345928f537f3b955ce034c2d2cf6a0512805fef17fa9ffc6a635d3e33257d03f3a57c9b9 dotool-1.3.tar.gz
|
|
"
|