mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 13:57:14 +02:00
testing/dotool: upgrade to 1.4
Also change to use its new build script.
This commit is contained in:
parent
8ea605cb17
commit
b02f17263f
@ -1,15 +1,15 @@
|
|||||||
# Contributor: John Gebbie <me@johngebbie.com>
|
# Contributor: John Gebbie <me@johngebbie.com>
|
||||||
# Maintainer: John Gebbie <me@johngebbie.com>
|
# Maintainer: John Gebbie <me@johngebbie.com>
|
||||||
pkgname=dotool
|
pkgname=dotool
|
||||||
pkgver=1.3
|
pkgver=1.4
|
||||||
pkgrel=4
|
pkgrel=0
|
||||||
pkgdesc="Command to simulate input anywhere (X11, Wayland, TTYs)"
|
pkgdesc="Command to simulate input anywhere (X11, Wayland, TTYs)"
|
||||||
url="https://sr.ht/~geb/dotool"
|
url="https://sr.ht/~geb/dotool"
|
||||||
arch="all"
|
arch="all"
|
||||||
license="GPL-3.0-only"
|
license="GPL-3.0-only"
|
||||||
makedepends="go libxkbcommon-dev"
|
makedepends="go libxkbcommon-dev scdoc"
|
||||||
install="$pkgname.pre-install"
|
install="$pkgname.pre-install"
|
||||||
subpackages="$pkgname-openrc"
|
subpackages="$pkgname-doc $pkgname-openrc"
|
||||||
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~geb/dotool/archive/$pkgver.tar.gz
|
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~geb/dotool/archive/$pkgver.tar.gz
|
||||||
dotoold.initd
|
dotoold.initd
|
||||||
"
|
"
|
||||||
@ -20,16 +20,19 @@ export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
|
|||||||
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
|
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
go build -ldflags "-X main.Version=$pkgver"
|
export DOTOOL_VERSION="$pkgver"
|
||||||
|
export DOTOOL_DESTDIR="$pkgdir"
|
||||||
|
export DOTOOL_BINDIR=usr/bin
|
||||||
|
export DOTOOL_UDEV_RULES_DIR=usr/lib/udev/rules.d
|
||||||
|
./build.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
install -Dm755 dotool dotoolc dotoold -t "$pkgdir"/usr/bin
|
./build.sh install
|
||||||
install -Dm644 "$builddir"/80-dotool.rules -t "$pkgdir"/usr/lib/udev/rules.d
|
|
||||||
install -Dm755 "$srcdir"/dotoold.initd "$pkgdir"/etc/init.d/dotoold
|
install -Dm755 "$srcdir"/dotoold.initd "$pkgdir"/etc/init.d/dotoold
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
1f786c5769e7ddfc53c921a4920909632cbd4c2e89df7b6ba5f6b075345928f537f3b955ce034c2d2cf6a0512805fef17fa9ffc6a635d3e33257d03f3a57c9b9 dotool-1.3.tar.gz
|
9bf735365f6b5dd41473134cca1efaecf702b8733ca5026ac1b568ff4e2168c9120d35c3da5296002d16bd5d2af9910c0011a501d3628059f77221e3de51e362 dotool-1.4.tar.gz
|
||||||
2d2744d75178aa57c653c5bdc6370caa205d96525f9aa6e5480c6c98c6f3528f0a4eb8997eb1d85acfadf97e790937244b017f5cc7981f2000908619b64dfed1 dotoold.initd
|
2d2744d75178aa57c653c5bdc6370caa205d96525f9aa6e5480c6c98c6f3528f0a4eb8997eb1d85acfadf97e790937244b017f5cc7981f2000908619b64dfed1 dotoold.initd
|
||||||
"
|
"
|
||||||
|
Loading…
Reference in New Issue
Block a user