#!/SBUILD _disabled: false pkg: "fselect" pkg_id: "jhspetersson.fselect" pkg_type: "static" ghcr_pkg: "jhspetersson/fselect" category: - "ConsoleOnly" - "FileTools" - "Utility" description: "Find files with SQL-like queries" homepage: - "https://github.com/jhspetersson/fselect" maintainer: - "QaidVoid (contact@qaidvoid.dev)" license: - "Apache-2.0" - "MIT" build_asset: - url: "https://raw.githubusercontent.com/jhspetersson/fselect/master/LICENSE-MIT" out: "LICENSE" - url: "https://github.com/jhspetersson/fselect/releases/download/${PKGVER}/fselect-${ARCH}-linux-musl.gz" out: "fselect.gz" note: - "Official binary from https://github.com/jhspetersson/fselect" - "[PORTABLE] (Portable Static Binary)" - "[NO_DESKTOP_INTEGRATION]" provides: - "fselect" repology: - "fselect" src_url: - "https://github.com/jhspetersson/fselect" tag: - "file-search" - "sql" - "cli" x_exec: host: - "x86_64-linux" shell: "sh" pkgver: | curl -qfsSL "https://api.github.com/repos/jhspetersson/fselect/releases/latest" | jq -r '.tag_name' run: | gunzip -f "fselect.gz" mv "fselect" "$SBUILD_OUTDIR/$PKG" chmod +x "$SBUILD_OUTDIR/$PKG"