Package Details: tflint-bin 0.51.1-1

Git Clone URL: https://aur.archlinux.org/tflint-bin.git (read-only, click to copy)
Package Base: tflint-bin
Description: A linter for Terraform code
Upstream URL: https://github.com/terraform-linters/tflint
Keywords: cloud devops hashicorp terraform
Licenses: MPL-2.0, BUSL-1.1
Conflicts: tflint
Provides: tflint
Submitter: bramswenson
Maintainer: jonathanio
Last Packager: jonathanio
Votes: 5
Popularity: 0.019691
First Submitted: 2017-11-16 02:12 (UTC)
Last Updated: 2024-05-13 15:21 (UTC)

Dependencies (2)

Required by (0)

Sources (3)

Latest Comments

jonathanio commented on 2023-09-18 18:56 (UTC)

@chrislea Thanks for the update. The package is already up-to-date, so no changes are needed there. As the LICENSE is not there, I've taken the opportunity to add that to the AUR repo and install it with the binary. 0.48.0-2 has been released to add that.

However, this is the binary download, rather than the full build, and no documentation is included with it as part of the standard release process, as such I've not been able to include them.

chrislea commented on 2023-09-18 03:36 (UTC)

The following diff will get the PKGBUILD up to the current release and adds the license and markdown files:

diff --git a/PKGBUILD b/PKGBUILD
index 747b1c3..96c8b59 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Gabriel M. Dutra <0xdutra@gmail.com>

 pkgname=tflint
-pkgver=0.41.0
+pkgver=0.48.0
 pkgrel=1
 pkgdesc="A linter for Terraform code"
 arch=('any')
@@ -11,7 +11,7 @@ license=('MIT')
 depends=('glibc')
 makedepends=('go')
 source=("$pkgname-$pkgver-source.tar.gz::https://${_vendor}/archive/v${pkgver}.tar.gz")
-sha256sums=('5d1535e3a10d8edc403f06bac0035ae4d533a1b2127cb773c5941d84b0a1202b')
+sha256sums=('9643ea803796a01c9dcbd63b7f624a1d5499b258d79639c311738ab1ce67e1c2')
 _vendorpath="gopath/src/$_vendor"

 build() {
@@ -21,4 +21,9 @@ build() {

 package() {
   install -Dm755 $srcdir/tflint-${pkgver}/tflint-bin $pkgdir/usr/bin/$pkgname
+  install -Dm644 $srcdir/tflint-${pkgver}/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+  install -Dm644 $srcdir/tflint-${pkgver}/CHANGELOG.md $pkgdir/usr/share/doc/$pkgname/CHANGELOG.md
+  install -Dm644 $srcdir/tflint-${pkgver}/ARCHITECTURE.md $pkgdir/usr/share/doc/$pkgname/ARCHITECTURE.md
+  install -Dm644 $srcdir/tflint-${pkgver}/README.md $pkgdir/usr/share/doc/$pkgname/README.md
+  install -Dm644 $srcdir/tflint-${pkgver}/SECURITY.md $pkgdir/usr/share/doc/$pkgname/SECURITY.md
 }

jonathanio commented on 2018-06-20 18:35 (UTC)

The build is failing as the sha512sums entry for the binary didn't get updated. Can you set this to 024b25e3f65d3cc3e18ec77b4c08c7c518ce555b6efe8e365bf112d7c7ad9447a84f2878a44d05f9c234cacbc23a428f7b1d283b7764004727b3f0f6b325d015, please?

bramswenson commented on 2017-12-09 18:57 (UTC)

@tanner, thanks for the report. Bug fixed, latest release packaged as well.