dev-util/tflint-bin: add QA_{FLAGS_IGNORED,PREBUILT} for prebuilt file

Fix VariableOrderCheck
Bump copyright

Closes: https://bugs.gentoo.org/887665
Closes: https://bugs.gentoo.org/887663
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
This commit is contained in:
Lucio Sauer
2024-04-28 19:10:20 +02:00
parent e2b40db6b6
commit dc980dcb3d
2 changed files with 12 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 2022 Gentoo Authors
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -7,14 +7,16 @@ DESCRIPTION="A Pluggable Terraform Linter"
HOMEPAGE="https://github.com/terraform-linters/tflint"
SRC_URI="https://github.com/terraform-linters/${PN%-bin}/releases/download/v${PV}/tflint_linux_amd64.zip -> ${P}.zip"
S="${WORKDIR}"
LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~amd64"
BDEPEND="app-arch/unzip"
S=${WORKDIR}
src_compile() { :; }
QA_FLAGS_IGNORED="usr/bin/tflint"
QA_PREBUILT="usr/bin/tflint"
src_install() {
newbin ${PN%-bin} tflint

View File

@@ -1,4 +1,4 @@
# Copyright 2022 Gentoo Authors
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -7,14 +7,16 @@ DESCRIPTION="A Pluggable Terraform Linter"
HOMEPAGE="https://github.com/terraform-linters/tflint"
SRC_URI="https://github.com/terraform-linters/${PN%-bin}/releases/download/v${PV}/tflint_linux_amd64.zip -> ${P}.zip"
S="${WORKDIR}"
LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~amd64"
BDEPEND="app-arch/unzip"
S=${WORKDIR}
src_compile() { :; }
QA_FLAGS_IGNORED="usr/bin/tflint"
QA_PREBUILT="usr/bin/tflint"
src_install() {
newbin ${PN%-bin} tflint