mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-01 06:42:01 +01:00
https://github.com/fritzrehde/watchbind Turn any shell command into a powerful TUI with custom keybindings testing/
37 lines
970 B
Plaintext
37 lines
970 B
Plaintext
# Contributor: Orhun Parmaksız <orhunparmaksiz@gmail.com>
|
||
# Maintainer: Orhun Parmaksız <orhunparmaksiz@gmail.com>
|
||
pkgname=watchbind
|
||
pkgver=0.1.19
|
||
pkgrel=0
|
||
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"
|
||
|
||
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="
|
||
b9e58cd7dc430e1bec59143258b1e147476b9b3f5be3c24ccf0a22b81e759b30b784c8ac4cfaac99a56fbbd44ae6854a634c31058e35027c6e0681541d0bed3d watchbind-0.1.19.tar.gz
|
||
"
|