Package Details: gometalinter-git 20151117.138_a2e60f2-1

Git Clone URL: https://aur.archlinux.org/gometalinter-git.git (read-only)
Package Base: gometalinter-git
Description: golang meta linter
Upstream URL: None
Licenses: GPL
Submitter: kovetskiy
Maintainer: kovetskiy
Last Packager: kovetskiy
Votes: 1
Popularity: 0.000111
First Submitted: 2015-10-06 05:58
Last Updated: 2017-03-05 06:30

Required by (1)

Sources (1)

Latest Comments

Ambrevar commented on 2017-06-01 18:27

A few things are wrong with this PKGBUILD:

- gotype and goimports should be removed as they are already included in go-tools. Add go-tools as a dependency.

- GO15VENDOREXPERIMENT=1 is not needed anymore.

- The link creation is useless, so are the `git submodules` commands.

- You should move the source folder to `$srcdir/.go/src/github.com/alecthomas/gometalinter` (no "-git" suffix) to respect to Go hierarchy, not just `$srcdir/.go/src/`. The current code breaks the install. Without the "-git" suffix, the is no need for renaming the executable.

- Why did you remove the `"$srcdir/.go/bin/gometalinter" --install --update` line?

johann commented on 2016-07-21 13:17

Please explicitly export GOBIN inside build()
export GOBIN="$srcdir/.go/bin"

val-amart commented on 2016-07-02 01:46

`/usr/bin/gotype` is also provided by `community/go-tools`. perhaps this package should remove it from `$pkgdir`, optionally depending on go-tools if this binary is necessary for it to work?