Files
guru/app-admin/tflint/tflint-0.60.0.ebuild
Gabriel de Moura Dutra 91b4bf8251 app-admin/tflint: add 0.60.0
Signed-off-by: Gabriel de Moura Dutra <hi@dutra.sh>
2025-11-30 14:04:24 -03:00

27 lines
645 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://github.com/gabrielmdutra/gentoo-depfiles/releases/download/${PN}-${PV}-vendor.tar.xz/${PN}-${PV}-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}
}