diff options
author | William Hubbs <williamh@gentoo.org> | 2022-09-10 16:38:36 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2022-09-10 16:39:43 -0500 |
commit | cd5ed70a081723c108fd07c65ed04ad0bd8b9f3b (patch) | |
tree | 4b164633299247e449c71d092df99bcb42d9b01d /dev-go/golangci-lint/golangci-lint-1.49.0.ebuild | |
parent | net-fs/mc: update SRC_URI (diff) | |
download | gentoo-cd5ed70a081723c108fd07c65ed04ad0bd8b9f3b.tar.gz gentoo-cd5ed70a081723c108fd07c65ed04ad0bd8b9f3b.tar.bz2 gentoo-cd5ed70a081723c108fd07c65ed04ad0bd8b9f3b.zip |
dev-go/golangci-lint: add 1.49.0
Closes: https://bugs.gentoo.org/841842
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'dev-go/golangci-lint/golangci-lint-1.49.0.ebuild')
-rw-r--r-- | dev-go/golangci-lint/golangci-lint-1.49.0.ebuild | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-go/golangci-lint/golangci-lint-1.49.0.ebuild b/dev-go/golangci-lint/golangci-lint-1.49.0.ebuild new file mode 100644 index 000000000000..39c37864b92e --- /dev/null +++ b/dev-go/golangci-lint/golangci-lint-1.49.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="Fast linters runner for Go" +HOMEPAGE="https://github.com/golangci/golangci-lint" +SRC_URI="https://github.com/golangci/golangci-lint/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +src_compile() { + emake build +} + +src_test() { + emake test +} + +src_install() { + dobin golangci-lint +} |