diff --git a/srcpkgs/syft/template b/srcpkgs/syft/template index 8938c477984..48e1f841b9a 100644 --- a/srcpkgs/syft/template +++ b/srcpkgs/syft/template @@ -1,17 +1,19 @@ # Template file for 'syft' pkgname=syft -version=0.103.1 +version=1.0.1 revision=1 build_style=go build_helper=qemu go_import_path="github.com/anchore/syft" go_package="github.com/anchore/syft/cmd/syft" +go_ldflags="-X main.version=${version}" short_desc="SBOM generator CLI for container images, filesystems and more" maintainer="Jan Christian Grünhage " license="Apache-2.0" homepage="https://github.com/anchore/syft" +changelog="https://github.com/anchore/syft/releases" distfiles="https://github.com/anchore/syft/archive/refs/tags/v${version}.tar.gz" -checksum=3f8dfd2e8bbea83dead8d5c155004bed9e76f5aa27f01536f7fa3b7aa79de9bf +checksum=79852b27a0665da4e41139066c009aaeae488e82fd6b465129aed5734c5ac934 post_install() { syft="${DESTDIR}/usr/bin/syft"