#!/SBUILD _disabled: false pkg: "fzf" pkg_id: "junegunn.fzf" pkg_type: "static" ghcr_pkg: "junegunn/fzf" category: - "ConsoleOnly" - "Utility" description: "A command-line fuzzy finder" homepage: - "https://github.com/junegunn/fzf" maintainer: - "QaidVoid (contact@qaidvoid.dev)" license: - "MIT" build_asset: - url: "https://raw.githubusercontent.com/junegunn/fzf/master/LICENSE" out: "LICENSE" note: - "Official binary from https://github.com/junegunn/fzf" - "[PORTABLE] (Portable Static Binary)" - "[NO_DESKTOP_INTEGRATION]" provides: - "fzf" repology: - "fzf" src_url: - "https://github.com/junegunn/fzf" tag: - "dev-tools" - "cli" - "utility" - "fuzzy-finder" x_exec: host: - "aarch64-linux" - "x86_64-linux" shell: "sh" pkgver: | curl -qfsSL "https://api.github.com/repos/junegunn/fzf/releases/latest" | jq -r '.tag_name' | tr -d 'v' run: | soar dl "github:junegunn/fzf@v${PKGVER}" --glob "*linux_${ARCH_ALT}.tar.gz" -o "./fzf.tar.gz" --yes tar -xf "fzf.tar.gz" -C "$SBUILD_TMPDIR/" mv "$SBUILD_TMPDIR/fzf" "$SBUILD_OUTDIR/$PKG" mv "$SBUILD_TMPDIR/LICENSE" "$SBUILD_OUTDIR/LICENSE" rm -f "fzf.tar.gz"