mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-06 19:44:46 +02:00
36 lines
928 B
Text
36 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
|
||
|
"
|