Package Details: shellcheck-git-static 0.4.7-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=0.4.7
Submitter: cdkitching
Maintainer: cdkitching (Techmeology)
Last Packager: cdkitching
Votes: 1
Popularity: 0.000000
First Submitted: 2017-11-14 15:04
Last Updated: 2018-05-28 16:13

Dependencies (1)

Required by (14)

Sources (1)

Latest Comments

cdkitching commented on 2018-05-28 16:13

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

CyberShadow commented on 2018-04-11 19:29

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').