summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChris Kitching2024-03-21 02:17:08 +0100
committerChris Kitching2024-03-21 02:17:08 +0100
commit6631a6ebf6fd7a18ec0928be510ee7c9a00981a9 (patch)
treecf6ab6fd4ebeefb2c1403dba11153ad853f65bc3 /PKGBUILD
parent3c35d5112e256d2107b0c611ad8db01e4b29b7e6 (diff)
downloadaur-6631a6ebf6fd7a18ec0928be510ee7c9a00981a9.tar.gz
Finally un-break this package. Hooray.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 119ecacdca8b..f77e017c7c60 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
pkgname=shellcheck-git-static
-pkgver=0.7.1
+pkgver=v0.10.0.r2.g50db9a2
pkgrel=1
pkgdesc="shellcheck-static, but using the latest-commit builds maintained by the author"
license=("AGPL3")
@@ -15,7 +15,8 @@ sha256sums=('SKIP')
pkgver() {
cd "$srcdir/shellcheck-latest"
- ./shellcheck -V | sed -nE 's/^version: (.*)$/\1/p'
+ ./shellcheck -V \
+ | sed -n '/^version:/{s/^version: //;s/\([^-]*-g\)/r\1/;s#[-:/ ]#.#g;p}'
}
package() {