#!/SBUILD _disabled: false pkg: "bore" pkg_id: "ekzhang.bore" pkg_type: "static" ghcr_pkg: "ekzhang/bore" category: - "Network" - "Utility" description: "A command line tool for making tunnels to localhost" homepage: - "https://github.com/ekzhang/bore" maintainer: - "QaidVoid (contact@qaidvoid.dev)" license: - "MIT" build_asset: - url: "https://raw.githubusercontent.com/ekzhang/bore/master/LICENSE" out: "LICENSE" note: - "Official binary from https://github.com/ekzhang/bore" - "[PORTABLE] (Portable Static Binary)" - "[NO_DESKTOP_INTEGRATION]" provides: - "bore" repology: - "bore-cli" src_url: - "https://github.com/ekzhang/bore" tag: - "tunnel" - "networking" - "localhost" x_exec: host: - "x86_64-linux" - "aarch64-linux" shell: "sh" pkgver: | curl -qfsSL "https://api.github.com/repos/ekzhang/bore/releases/latest" | jq -r '.tag_name' | tr -d 'v' run: | soar dl "https://github.com/ekzhang/bore@v${PKGVER}" --glob "*${ARCH}-unknown-linux-musl.tar.gz" --yes -o bore.tar.gz tar -xf "bore.tar.gz" -C "$SBUILD_TMPDIR/" cp "$SBUILD_TMPDIR/bore" "$SBUILD_OUTDIR/$PKG" rm -rf "bore.tar.gz" strip "$SBUILD_OUTDIR/$PKG"