aports/testing/sshs/APKBUILD
Robin Candau f50ce3049a testing/sshs: new aport
Terminal user interface for SSH
https://github.com/quantumsheep/sshs
2025-01-23 19:11:00 +00:00

35 lines
928 B
Text

# Contributor: Robin Candau <robincandau@protonmail.com>
# Maintainer: Robin Candau <robincandau@protonmail.com>
pkgname=sshs
pkgver=4.6.1
pkgrel=0
pkgdesc="Terminal user interface for SSH"
url="https://github.com/quantumsheep/sshs"
arch="all"
license="MIT"
depends="cmd:ssh"
makedepends="cargo cargo-auditable"
source="$pkgname-$pkgver.tar.gz::https://github.com/quantumsheep/sshs/archive/refs/tags/$pkgver.tar.gz"
options="net" # cargo crates
prepare() {
default_prepare
cargo fetch --locked --target="$CTARGET"
}
build() {
cargo auditable build --release --locked
}
check() {
cargo test --locked
}
package() {
install -Dm 755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
sha512sums="
bebc0bc6cb7ec8b74794ab1936aaee4a759f325d53a60c799df84bded89f479b3111b6150bf8fd50b8a9ccaeef6d4e5eb7862ca0b4c3d6f7704114e72a00654e sshs-4.6.1.tar.gz
"