

























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
}
The build is failing as the sha512sums entry for the binary didn't get updated. Can you set this to 024b25e3f65d3cc3e18ec77b4c08c7c518ce555b6efe8e365bf112d7c7ad9447a84f2878a44d05f9c234cacbc23a428f7b1d283b7764004727b3f0f6b325d015, please?
@tanner, thanks for the report. Bug fixed, latest release packaged as well.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
@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.