























looking forward to autoupdate - it's nicer to stick to a version, instead of fetching always the latest… not really reproducible on different machines and since you never know which version is installed.
Not critical but annoying:
warning: directory permissions differ on /usr/bin/
Could be fixed with a chmod 755 $pkgdir/usr/bin.
It seems that there are some issues with grep in PKGBUILD. I'm getting:
grep: warning: stray \ before -
@ildus, how is it looking on the auto update thing?
@furai I think it's not possible, it is kind of legitimate. I will add some AUR auto-update in the near future.
I'm using yay for managing AUR packages. Is it possible to somehow avoid messages like:
-> verible-bin: local (0.0.3428-1) is newer than AUR (0.0.3424-1)
when doing system updates?
The package always retrieves the latest version from github.
It fetches the aarch64 binary rather than the x86_64 binary. Got it working with the following diff.
diff --git a/PKGBUILD b/PKGBUILD
index dfd7278..bb50feb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Ildus Kurbangaliev <i.kurbangaliev@gmail.com>
pkgname=verible-bin
-pkgver=0.0.2613
+pkgver=0.0.3021
pkgrel=1
pkgdesc='SystemVerilog parser, linter, formatter and etc from Google'
arch=('x86_64')
@@ -14,7 +14,13 @@ source=("https://api.github.com/repos/chipsalliance/verible/releases/latest")
sha512sums=('SKIP')
prepare() {
- cat latest | jq '.assets[0]["browser_download_url"]' | xargs wget -O - | tar -xz
+ cat latest | jq '.assets' \
+ | grep -i --color=never browser_download_url \
+ | grep -i --color=never centos \
+ | grep -i --color=never "${arch}" \
+ | awk '{print $2}' \
+ | xargs wget -O - \
+ | tar -xz
}
pkgver() {
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
Dear @ildus can you reproduce the error I mentioned: