Package Details: shellcheck-git-static 0.7.1-1

Git Clone URL: (read-only, click to copy)
Package Base: shellcheck-git-static
Description: shellcheck-static, but using the latest-commit builds maintained by the author
Upstream URL: None
Licenses: AGPL3
Conflicts: shellcheck
Provides: shellcheck
Submitter: cdkitching
Maintainer: cdkitching (Techmeology)
Last Packager: cdkitching
Votes: 4
Popularity: 0.000001
First Submitted: 2017-11-14 15:04 (UTC)
Last Updated: 2020-08-26 08:38 (UTC)

Dependencies (1)

Required by (75)

Sources (1)

Latest Comments

eclairevoyant commented on 2023-05-16 04:11 (UTC)

0.9.0 available. pkgver function notwithstanding, as it violates Arch packaging guidelines for non-VCS packages

b0o commented on 2021-12-01 08:39 (UTC)

This is failing:

==> Starting pkgver()...
==> ERROR: pkgver is not allowed to contain colons, forward slashes, hyphens or whitespace.
==> ERROR: pkgver() generated an invalid version: v0.8.0-3-g499c993
 -> error making: shellcheck-git-static

kakawait commented on 2020-04-26 18:57 (UTC)

Possible to update aur regarding new static url?

You are downloading ShellCheck from the wrong URL!
Please update to the latest one:

For more information, see:
==> ERROR: pkgver is not allowed to be empty.
==> ERROR: pkgver() generated an invalid version:
Error making: shellcheck-git-static

cdkitching commented on 2018-05-28 16:13 (UTC)

Great idea, thanks. Merged that in (and bumped the version slightly)

CyberShadow commented on 2018-04-11 19:29 (UTC) (edited on 2018-04-11 23:28 (UTC) by CyberShadow)

I suggest the following change, to avoid fetching the git repository, and avoid possible mismatch in case the repository or the binary is updated before the other:

diff --git a/PKGBUILD b/PKGBUILD
index [`49aa033`]( 100644
@@ -10,15 +10,12 @@ provides=("shellcheck=0.4.6")

-    # We need this just to compute the pkgver to use :D
-    "git+<>"
-sha256sums=('SKIP' 'SKIP')

 pkgver() {
-  cd "$srcdir/shellcheck"
-  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+  cd "$srcdir/shellcheck-latest"
+  ./shellcheck -V | sed -nE 's/^version: (.*)$/\1/p'

 package() {

Lack of verification is probably not a good thing, though - maybe updating the PKGBUILD with the correct checksum with each release is preferable.

Also, this currently fails to build in a chroot with "Cannot find the git package needed to handle git sources" because of missing makedepends=('git').