# Contributor: Thomas Kienlen # Maintainer: Thomas Kienlen pkgname=bore pkgver=0.5.0 pkgrel=1 pkgdesc="Simple CLI tool for making tunnels to localhost" url="https://github.com/ekzhang/bore" # riscv64: rust broken # s390x: tests fail arch="all !riscv64 !s390x" 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=" 55d783a46e25393fc003d9c90760c141692af88fe88fecfc27c632bdc6d3352309691f8995484d9a94022c0e8e1636480104d3b7f20bf848647bb34770a8b170 bore-0.5.0.tar.gz "