mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-26 18:21:47 +01:00
37 lines
968 B
Plaintext
37 lines
968 B
Plaintext
# Contributor: Orhun Parmaksız <orhunparmaksiz@gmail.com>
|
||
# Maintainer: Orhun Parmaksız <orhunparmaksiz@gmail.com>
|
||
pkgname=watchbind
|
||
pkgver=0.2.1
|
||
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="
|
||
4084e854e070b2c9736e2ef10025f6703efcac8e9fb9c345f09e03a2048d0437e2d470b684f25306b66fca99cbeab40202d0560eba24aa2a69220b34369d2f46 watchbind-0.2.1.tar.gz
|
||
"
|