srcpkgs/: clean up Go packages.

Fix small typos, expand some variables, leave comments for updates.
This commit is contained in:
Érico Rolim 2021-02-19 00:55:24 -03:00 committed by Érico Nogueira Rolim
parent 657acf5b32
commit b8c5e59acd
27 changed files with 34 additions and 33 deletions

View File

@ -9,7 +9,7 @@ short_desc="Fast and lightweight shell plugin manager"
maintainer="SolitudeSF <solitudesf@protonmail.com>"
license="MIT"
homepage="https://getantibody.github.io/"
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
distfiles="https://github.com/getantibody/antibody/archive/v${version}.tar.gz"
checksum=87bced5fba8cf5d587ea803d33dda72e8bcbd4e4c9991a9b40b2de4babbfc24f
post_install() {

View File

@ -3,6 +3,7 @@ pkgname=caddy
version=1.0.5
revision=1
build_style=go
# XXX: use caddy/v2 when updating
go_import_path=github.com/caddyserver/caddy
go_package="${go_import_path}/caddy"
hostmakedepends="git"

View File

@ -12,7 +12,7 @@ short_desc="Manage your dotfiles across multiple machines, securely"
maintainer="Abigail G <dev@kb6.ee>"
license="MIT"
homepage="https://chezmoi.io/"
distfiles="https://github.com/twpayne/${pkgname}/archive/v${version}.tar.gz"
distfiles="https://github.com/twpayne/chezmoi/archive/v${version}.tar.gz"
checksum=23515591028202aaf7af908e38972f156ee08022f535bc74aaa9244b82da2fa1
post_install() {

View File

@ -3,7 +3,7 @@ pkgname=consul-template
version=0.25.1
revision=1
build_style=go
go_import_path="github.com/hashicorp/$pkgname"
go_import_path="github.com/hashicorp/consul-template"
hostmakedepends="git"
short_desc="Template rendering, notifier, and supervisor for Consul and Vault data"
maintainer="Noel Cower <ncower@nil.dev>"

View File

@ -3,7 +3,7 @@ pkgname=consul
version=1.8.4
revision=1
build_style=go
go_import_path="github.com/hashicorp/${pkgname}"
go_import_path="github.com/hashicorp/consul"
_git_commit=9ea1a204d832cfd4d8c5cba9df56876a526a4531
go_ldflags="-X ${go_import_path}/version.GitCommit=${_git_commit} -X ${go_import_path}/version.GitDescribe=v${version}"
# consul has a vendor directory, but relies on replace statements in go.mod, so

View File

@ -8,7 +8,7 @@ short_desc="Lift containers with ease"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="MIT"
go_import_path="github.com/michaelsauter/crane"
homepage="https://${go_import_path}"
homepage="https://github.com/michaelsauter/crane"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=00f202783ae2ef3a2d0e02fba0454defe53e823b4c99e2e3b5af734dc870906e

View File

@ -11,7 +11,7 @@ depends="git go"
short_desc="Go dependency management tool"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="BSD-3-Clause"
homepage="https://${go_import_path}"
homepage="https://github.com/golang/dep"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=929c8f759838f98323211ba408a831ea80d93b75beda8584b6d950f393a3298a

View File

@ -9,7 +9,7 @@ go_import_path="github.com/jwilder/docker-gen"
go_package="${go_import_path}/cmd/docker-gen"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="MIT"
homepage="https://$go_import_path"
homepage="https://github.com/jwilder/docker-gen"
distfiles="$homepage/archive/$version.tar.gz"
checksum=7951b63684e4ace9eab4f87f0c5625648f8add2559fa7779fabdb141a8a83908

View File

@ -8,7 +8,7 @@ short_desc="Check your project for common sources of contributor friction"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="MIT"
go_import_path="github.com/pengwynn/flint"
homepage="https://${go_import_path}"
homepage="https://github.com/pengwynn/flint"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=ec865ec5cad191c7fc9c7c6d5007754372696a708825627383913367f3ef8b7f

View File

@ -8,6 +8,6 @@ short_desc="A process supervisor in Go"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="Apache-2.0"
go_import_path="github.com/ddollar/forego"
homepage="https://$go_import_path"
homepage="https://github.com/ddollar/forego"
distfiles="$homepage/archive/$version.tar.gz"
checksum=23119550cc0e45191495823aebe28b42291db6de89932442326340042359b43d

View File

@ -10,7 +10,7 @@ short_desc="Utility to generate .desktop files and download icons"
maintainer="Benjamín Albiñana <benalb@gmail.com>"
license="MIT"
homepage="http://roboticoverlords.org/gendesk/"
distfiles="https://github.com/xyproto/${pkgname}/archive/${version}.tar.gz
distfiles="https://github.com/xyproto/gendesk/archive/${version}.tar.gz
http://roboticoverlords.org/images/default.png"
checksum="924606ca1c15a140b70f363c4a0ac46fb3ad4d05bc39db400d0b0e41dd4456bb
4d96eded48e536d02e35727c36dc20844c2e44654e81baf78e10aee4eb48e837"

View File

@ -9,7 +9,7 @@ short_desc="Git extension for versioning large files"
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="MIT"
homepage="https://git-lfs.github.com/"
distfiles="https://github.com/git-lfs/${pkgname}/archive/v${version}.tar.gz"
distfiles="https://github.com/git-lfs/git-lfs/archive/v${version}.tar.gz"
checksum=2b2e70f1233f7efe9a010771510391a07527ec7c0af721ecf8edabac5d60f62b
post_build() {

View File

@ -8,7 +8,7 @@ short_desc="Easy Process Killer"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="MIT"
go_import_path="github.com/heppu/gkill"
homepage="https://$go_import_path"
homepage="https://github.com/heppu/gkill"
distfiles="$homepage/archive/v$version.tar.gz"
checksum=aee86f1e18a88ecd3024c6deb3dbd6a2e385961ad8365046dc2b64596bdbb84b

View File

@ -11,6 +11,6 @@ go_import_path="github.com/robfig/glock"
go_package="${go_import_path}"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="Public Domain"
homepage="https://$go_import_path"
homepage="https://github.com/robfig/glock"
distfiles="$homepage/archive/$_commit.tar.gz"
checksum=b8fea16ccdfa4a927a8590753d44ca5bb610561f3b9e09cc1e501ef5c9351dc9

View File

@ -3,7 +3,7 @@ pkgname=go-ipfs
version=0.7.0
revision=2
build_style=go
go_import_path="github.com/ipfs/${pkgname}"
go_import_path="github.com/ipfs/go-ipfs"
go_package="${go_import_path}/cmd/ipfs"
hostmakedepends="git"
depends="fs-repo-migrations>=1.6.4"
@ -12,7 +12,7 @@ maintainer="Christopher Brannon <chris@the-brannons.com>"
license="MIT, Apache-2.0"
homepage="https://ipfs.io"
changelog="https://github.com/ipfs/go-ipfs/blob/master/CHANGELOG.md"
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
distfiles="https://github.com/ipfs/go-ipfs/archive/v${version}.tar.gz"
checksum=152986ebb30657ab706bee708fbe929114f5e8c39fbe602e3bbec93fe74c9123
system_accounts="_ipfs"

View File

@ -3,7 +3,7 @@ pkgname=hugo
version=0.80.0
revision=1
build_style=go
go_import_path="github.com/gohugoio/${pkgname}"
go_import_path="github.com/gohugoio/hugo"
go_build_tags="$(vopt_if extended extended)"
hostmakedepends="git"
depends="$(vopt_if pygments python-Pygments)"
@ -11,7 +11,7 @@ short_desc="Fast & Modern Static Website Engine"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="Apache-2.0"
homepage="https://gohugo.io"
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
distfiles="https://github.com/gohugoio/hugo/archive/v${version}.tar.gz"
checksum=4ddcd6ebea21e5fd4067db4a481ab7810e34496d5991a3520169c8f5ee1d38bb
build_options="pygments extended"

View File

@ -3,8 +3,8 @@ pkgname=lego
version=4.0.1
revision=1
build_style=go
go_import_path="github.com/go-acme/${pkgname}/v4"
go_package="${go_import_path}/cmd/${pkgname}"
go_import_path="github.com/go-acme/lego/v4"
go_package="${go_import_path}/cmd/lego"
hostmakedepends="git"
short_desc="Let's Encrypt client and ACME library written in Go"
maintainer="Anachron <gith@cron.world>"

View File

@ -7,8 +7,8 @@ hostmakedepends="git"
short_desc="Massive renamer from command line"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="MIT"
go_import_path="github.com/laurent22/${pkgname}"
homepage="https://${go_import_path}"
go_import_path="github.com/laurent22/massren"
homepage="https://github.com/laurent22/massren"
distfiles="$homepage/archive/v$version.tar.gz"
checksum=7a728d96a9e627c3609d147db64bba60ced33c407c75e9512147a5c83ba94f56

View File

@ -6,7 +6,7 @@ build_style=go
go_import_path="github.com/zyedidia/micro/v2"
go_package="${go_import_path}/cmd/micro"
go_ldflags="-X github.com/zyedidia/micro/v2/internal/util.Version=${version}"
# Adding CompuileDate is bad reproducibility and adding CommitHash
# Adding CompileDate is bad for reproducibility and adding CommitHash
# is redundant as we use a tag to build the package.
hostmakedepends="git"
short_desc="Modern and intuitive terminal-based text editor"

View File

@ -3,7 +3,7 @@ pkgname=nomad
version=1.0.1
revision=1
build_style=go
go_import_path="github.com/hashicorp/${pkgname}"
go_import_path="github.com/hashicorp/nomad"
go_build_tags="ui release"
_git_commit=a480eed0815c54612856d9115a34bb1d1a773e8c
go_ldflags="-X ${go_import_path}/version.GitCommit=${_git_commit}"
@ -12,7 +12,7 @@ short_desc="Cluster scheduler designed to easily integrate into existing workflo
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="MPL-2.0"
homepage="https://www.nomadproject.io/"
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
distfiles="https://github.com/hashicorp/nomad/archive/v${version}.tar.gz"
checksum=1dca9ebb1636fc8ef005d9c6eed8cf10fbfc3d7c9ff7307606454142d858f419
patch_args="-Np1"

View File

@ -10,7 +10,7 @@ short_desc="Simplistic interactive filtering tool"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="MIT"
homepage="https://github.com/peco/peco"
distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz"
distfiles="https://github.com/peco/peco/archive/v${version}.tar.gz"
checksum=90d87503265c12f8583f5c6bc19c83eba7a2e15219a6339d5041628aa48c4705
post_install() {

View File

@ -8,6 +8,6 @@ short_desc="A fast and powerful open source alternative to grep"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="GPL-3"
go_import_path="github.com/svent/sift"
homepage="https://$go_import_path"
homepage="https://github.com/svent/sift"
distfiles="$homepage/archive/v$version.tar.gz"
checksum=bbbd5c472c36b78896cd7ae673749d3943621a6d5523d47973ed2fc6800ae4c8

View File

@ -4,12 +4,12 @@ version=1.4.0
revision=7
build_style=go
hostmakedepends="git mercurial"
go_import_path="github.com/aykamko/${pkgname}"
go_import_path="github.com/aykamko/tag"
short_desc="Instantly jump to your ag matches"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="MIT"
homepage="https://github.com/aykamko/tag"
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=d3a02466e600634cf0ffff9ad8c5f70eba97e44758edf35cc4efbda9cbfdff9a
post_install() {

View File

@ -3,7 +3,7 @@ pkgname=terragrunt
version=0.28.4
revision=1
build_style=go
go_import_path="github.com/gruntwork-io/$pkgname"
go_import_path="github.com/gruntwork-io/terragrunt"
hostmakedepends="git"
depends="terraform"
short_desc="Thin wrapper for Terraform that provides extra tools"

View File

@ -3,7 +3,7 @@ pkgname=vault
version=1.6.1
revision=1
build_style=go
go_import_path="github.com/hashicorp/${pkgname}"
go_import_path="github.com/hashicorp/vault"
go_build_tags="release"
_git_commit=6d2db3f033e02e70202bef9ec896360062b88b03
go_ldflags="-X ${go_import_path}/sdk/version.GitCommit=${_git_commit}"
@ -12,7 +12,7 @@ short_desc="Manage Secrets and Protect Sensitive Data"
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="MPL-2.0"
homepage="https://www.vaultproject.io/"
distfiles="https://github.com/hashicorp/${pkgname}/archive/v${version}.tar.gz"
distfiles="https://github.com/hashicorp/vault/archive/v${version}.tar.gz"
checksum=fb5d96e682a48bfd421b13cdfffd710da0238dbded1988aab822dd5aae75b4c4
system_accounts="_vault"
make_dirs="/var/lib/vault 0700 _vault _vault

View File

@ -9,5 +9,5 @@ short_desc="WebSocket Netcat"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="GPL-3"
homepage="https://github.com/thypon/webcat"
distfiles="https://github.com/thypon/${pkgname}/archive/v${version}.tar.gz"
distfiles="https://github.com/thypon/webcat/archive/v${version}.tar.gz"
checksum=5b3be1cb8deb08f144d674a0bf23f97a692ebb601666d3a38df6e80b2e68d0b7

View File

@ -8,6 +8,6 @@ short_desc="Turn any program that uses STDIN/STDOUT into a WebSocket server"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="BSD"
go_import_path="github.com/joewalnes/websocketd"
homepage="https://$go_import_path"
homepage="https://github.com/joewalnes/websocketd"
distfiles="$homepage/archive/v$version.tar.gz"
checksum=6b8fe0fad586d794e002340ee597059b2cfc734ba7579933263aef4743138fe5