summaryrefslogtreecommitdiff
path: root/app-admin/tflint/tflint-0.58.0.ebuild
blob: 874d5966bb428691c9bc6386e1d94e1b71dfdb6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit go-module

DESCRIPTION="Terraform linter"
HOMEPAGE="https://github.com/terraform-linters/tflint"
SRC_URI="https://github.com/terraform-linters/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://distfiles.gentoo.org/pub/dev/ceamac@gentoo.org/${CATEGORY}/${PN}/${P}-vendor.tar.xz"

LICENSE="Apache-2.0 BSD BSD-2 MPL-2.0 MIT"
SLOT="0"
KEYWORDS="~amd64"

# Tests requires network connection
RESTRICT=test

src_compile() {
	ego build -v -x -o ${PN}
}

src_install() {
	dobin tflint/${PN}
}