Files
guru/app-admin/tflint/tflint-0.58.0.ebuild
Viorel Munteanu 5962c315c8 app-admin/tflint: add 0.58.0
Closes: https://bugs.gentoo.org/950628
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
2025-06-07 10:53:06 +03:00

27 lines
594 B
Bash

# 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://dev.gentoo.org/~ceamac/${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}
}