mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-13 01:22:23 +01:00
41 lines
1.3 KiB
Plaintext
41 lines
1.3 KiB
Plaintext
# Contributor: Orhun Parmaksız <orhunparmaksiz@gmail.com>
|
||
# Maintainer: Orhun Parmaksız <orhunparmaksiz@gmail.com>
|
||
pkgname=watchbind
|
||
pkgver=0.2.1
|
||
pkgrel=1
|
||
pkgdesc="Turn any shell command into a powerful TUI with custom keybindings"
|
||
url="https://github.com/fritzrehde/watchbind"
|
||
arch="all"
|
||
license="GPL-3.0-or-later"
|
||
makedepends="cargo cargo-auditable"
|
||
subpackages="$pkgname-doc"
|
||
options="net"
|
||
source="$pkgname-$pkgver.tar.gz::https://github.com/fritzrehde/watchbind/archive/v$pkgver.tar.gz
|
||
cargo-update.patch
|
||
time-crate-update.patch"
|
||
|
||
prepare() {
|
||
default_prepare
|
||
|
||
cargo fetch --target="$CTARGET" --locked
|
||
}
|
||
|
||
build() {
|
||
cargo auditable build --frozen --release
|
||
}
|
||
|
||
check() {
|
||
cargo test --frozen
|
||
}
|
||
|
||
package() {
|
||
install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/bin"
|
||
install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
|
||
}
|
||
|
||
sha512sums="
|
||
4084e854e070b2c9736e2ef10025f6703efcac8e9fb9c345f09e03a2048d0437e2d470b684f25306b66fca99cbeab40202d0560eba24aa2a69220b34369d2f46 watchbind-0.2.1.tar.gz
|
||
88b35a6e48e90cb1a17329fd641e7bed3ffd604b25c3ae9543ec91209b90a7491f74d7069d9c504fd44dda6a07429969ebeb2d68502bcbe0997b749b99021ece cargo-update.patch
|
||
45b32f245be4659435ac45ded53f5ee69d0d772a6c3647e5613b208813d8dca319d9bf50993be6f9022ec13564f7a0cf7301333eb654214517d4dd51acc0fa01 time-crate-update.patch
|
||
"
|