mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-05 05:57:14 +02:00
https://github.com/ekzhang/bore/releases/tag/v0.5.1 https://github.com/ekzhang/bore/releases/tag/v0.5.2
37 lines
915 B
Text
37 lines
915 B
Text
# Contributor: Thomas Kienlen <kommander@laposte.net>
|
|
# Maintainer: Thomas Kienlen <kommander@laposte.net>
|
|
pkgname=bore
|
|
pkgver=0.5.2
|
|
pkgrel=0
|
|
pkgdesc="Simple CLI tool for making tunnels to localhost"
|
|
url="https://github.com/ekzhang/bore"
|
|
# riscv64: rust broken
|
|
# s390x: tests fail
|
|
# loongarch64: blocked by libc crate
|
|
arch="all !riscv64 !s390x !loongarch64"
|
|
license="MIT"
|
|
makedepends="cargo cargo-auditable"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/ekzhang/bore/archive/v$pkgver/bore-$pkgver.tar.gz"
|
|
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
cargo fetch --target="$CTARGET" --locked
|
|
}
|
|
|
|
build() {
|
|
cargo auditable build --release --frozen
|
|
}
|
|
|
|
check() {
|
|
cargo test --frozen
|
|
}
|
|
|
|
package() {
|
|
install -D -m 755 target/release/bore -t "$pkgdir"/usr/bin
|
|
}
|
|
|
|
sha512sums="
|
|
e7023b45c24afd69edfd5814a00aa6df118e2ca86e43db84033571e9d967263b003ef740443a354fdd2b19525f8ac28abdd7059daa39a6243efc333bec151c9d bore-0.5.2.tar.gz
|
|
"
|