#!/SBUILD _disabled: false pkg: "git-cliff" pkg_id: "orhun.git-cliff" pkg_type: "static" ghcr_pkg: "orhun/git-cliff" category: - "ConsoleOnly" - "Development" - "Utility" description: "Highly customizable changelog generator following Conventional Commits" homepage: - "https://git-cliff.org" maintainer: - "QaidVoid (contact@qaidvoid.dev)" license: - "Apache-2.0" build_asset: - url: "https://github.com/orhun/git-cliff/releases/download/v${PKGVER}/git-cliff-${PKGVER}-${ARCH}-unknown-linux-musl.tar.gz" out: "git-cliff.tar.gz" note: - "Official binary from https://github.com/orhun/git-cliff" - "[PORTABLE] (Portable Static Binary)" - "[NO_DESKTOP_INTEGRATION]" provides: - "git-cliff" repology: - "git-cliff" src_url: - "https://github.com/orhun/git-cliff" tag: - "changelog" - "git" - "development" x_exec: host: - "x86_64-linux" - "aarch64-linux" shell: "sh" pkgver: | curl -qfsSL "https://api.github.com/repos/orhun/git-cliff/releases/latest" | jq -r '.tag_name' | tr -d 'v' run: | tar -xf "git-cliff.tar.gz" -C "$SBUILD_TMPDIR/" mv "$SBUILD_TMPDIR/git-cliff-${PKGVER}/git-cliff" "$SBUILD_OUTDIR/$PKG" mv "$SBUILD_TMPDIR/git-cliff-${PKGVER}/LICENSE-MIT" "$SBUILD_OUTDIR/LICENSE" rm -rf "git-cliff.tar.gz"