#!/SBUILD _disabled: false pkg: "bluetuith" pkg_id: "bluetuith-org.bluetuith" pkg_type: "static" ghcr_pkg: "bluetuith-org/bluetuith" category: - "ConsoleOnly" - "System" - "Utility" description: "A TUI bluetooth manager for Linux" homepage: - "https://github.com/darkhz/bluetuith" maintainer: - "QaidVoid (contact@qaidvoid.dev)" license: - "MIT" note: - "Official binary from https://github.com/bluetuith-org/bluetuith" - "[PORTABLE] (Portable Static Binary)" - "[NO_DESKTOP_INTEGRATION]" provides: - "bluetuith" repology: - "bluetuith" src_url: - "https://github.com/bluetuith-org/bluetuith" tag: - "bluetooth" - "tui" x_exec: host: - "x86_64-linux" - "aarch64-linux" shell: "sh" pkgver: | curl -qfsSL "https://api.github.com/repos/bluetuith-org/bluetuith/releases/latest" | jq -r '.tag_name' | tr -d 'v' run: | case "$ARCH" in x86_64) ARCH="x86_64" ;; aarch64) ARCH="arm64" ;; esac soar dl "https://github.com/bluetuith-org/bluetuith@v${PKGVER}" --glob "*Linux_${ARCH}.tar.gz" --yes -o bluetuith.tar.gz tar -xf "bluetuith.tar.gz" -C "$SBUILD_TMPDIR/" mv "$SBUILD_TMPDIR/bluetuith" "$SBUILD_OUTDIR/$PKG" mv "$SBUILD_TMPDIR/LICENSE" "$SBUILD_OUTDIR/LICENSE" rm -rf "bluetuith.tar.gz"