aports/testing/dotool/APKBUILD
John Gebbie 0cd61d1e64 testing/dotool: upgrade to 1.3
also remove redundant scdoc from makedepends
2023-06-01 20:32:39 +00:00

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
"