Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions srcpkgs/go-size-analyzer/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Template file for 'go-size-analyzer'
pkgname=go-size-analyzer
version=1.10.2
revision=1
build_style=go
go_import_path="github.com/Zxilly/go-size-analyzer"
go_package="${go_import_path}/cmd/gsa"
make_check_args="-skip Test(DiffJSONAndBinary|CommonResult|FullOutput)" # require the tui
short_desc="Tool for analyzing the size of compiled Go binaries"
maintainer="Bnyro <bnyro@tutanota.com>"
license="AGPL-3.0-only"
homepage="https://github.com/Zxilly/go-size-analyzer"
distfiles="https://github.com/Zxilly/go-size-analyzer/archive/refs/tags/v${version}.tar.gz"
checksum=4c8a7820564f462a953aaada38f212e0248464205315d6715cc98e274266ba53

post_install() {
# avoid name clash with 'gwenhywfar' package
mv ${DESTDIR}/usr/bin/{gsa,go-size-analyzer}
vlicense LICENSE
}