mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 14:43:27 -04:00
Move distfiles from devspace to https://distfiles.gentoo.org/ Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
27 lines
618 B
Bash
27 lines
618 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://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}
|
|
}
|