sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (f3a8f4c088720ca1f379b79003be46c8291dcb57)
- From: Ismael Luceno <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org, sm-commit AT lists.sourcemage.org
- Subject: [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (f3a8f4c088720ca1f379b79003be46c8291dcb57)
- Date: Wed, 19 Aug 2026 23:05:39 +0000
GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:
ChangeLog | 1 +
devel/shellcheck/BUILD | 10 ++++++++++
devel/shellcheck/DEPENDS | 6 ++++++
devel/shellcheck/DETAILS | 17 +++++++++++++++++
devel/shellcheck/HISTORY | 2 ++
devel/shellcheck/INSTALL | 2 ++
devel/shellcheck/WATCH | 1 +
7 files changed, 39 insertions(+)
New commits:
commit f3a8f4c088720ca1f379b79003be46c8291dcb57
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
shellcheck: new spell, static analysis tool for shell scripts
diff --git a/ChangeLog b/ChangeLog
index c7260d0..09d5359 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
2026-08-19 Ismael Luceno <ismael AT sourcemage.org>
* haskell/POST_REMOVE: stopped guarding Cabal and process, both are
spells of their own now
+ * devel/shellcheck: new spell, static analysis tool for shell scripts
2026-08-18 Ismael Luceno <ismael AT sourcemage.org>
* haskell/FUNCTIONS: added handling for sdists not shipping a setup
file
diff --git a/devel/shellcheck/BUILD b/devel/shellcheck/BUILD
new file mode 100755
index 0000000..9716e09
--- /dev/null
+++ b/devel/shellcheck/BUILD
@@ -0,0 +1,10 @@
+cd "$SOURCE_DIRECTORY" &&
+
+# Build-Type is Simple and the tag tarball ships no setup file
+printf 'import Distribution.Simple\nmain = defaultMain\n' > Setup.hs &&
+
+# only the executable is wanted, so build it the vanilla way and let it
+# keep the ShellCheck library statically instead of registering one
+runhaskell Setup.hs configure -O2 --prefix="$INSTALL_ROOT/usr" \
+ --docdir="$INSTALL_ROOT/usr/share/doc/$SPELL"
&&
+runhaskell Setup.hs build -j${MAKE_NJOBS}
diff --git a/devel/shellcheck/DEPENDS b/devel/shellcheck/DEPENDS
new file mode 100755
index 0000000..a29911b
--- /dev/null
+++ b/devel/shellcheck/DEPENDS
@@ -0,0 +1,6 @@
+depends ghc &&
+depends haskell-aeson &&
+depends haskell-diff &&
+depends haskell-fgl &&
+depends haskell-quickcheck &&
+depends haskell-regex-tdfa
diff --git a/devel/shellcheck/DETAILS b/devel/shellcheck/DETAILS
new file mode 100755
index 0000000..d52683e
--- /dev/null
+++ b/devel/shellcheck/DETAILS
@@ -0,0 +1,17 @@
+ SPELL=shellcheck
+ VERSION=0.11.0
+ SOURCE=$SPELL-$VERSION.tar.gz
+
SOURCE_URL[0]=https://github.com/koalaman/shellcheck/archive/refs/tags/v$VERSION.tar.gz
+
SOURCE_HASH=sha512:97700b6997cdf4e4d8af62ab77401c315797f5effbe79100bb048870b549f0722ba471248d807c40d87cf753ad61271a8048f9fded25d01dcc1fec76ccd6a2c5
+ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
+ WEB_SITE=https://github.com/koalaman/shellcheck
+ ENTERED=20260814
+ LICENSE[0]=GPL-3.0-only
+ KEYWORDS="shell devel"
+ SHORT="static analysis tool for shell scripts"
+cat << EOF
+ShellCheck is a static analysis tool for shell scripts. It gives
+warnings and suggestions for bash/sh scripts, catching common
+beginner mistakes as well as more subtle semantic problems that
+cause a shell to behave in unexpected ways.
+EOF
diff --git a/devel/shellcheck/HISTORY b/devel/shellcheck/HISTORY
new file mode 100644
index 0000000..c2090b0
--- /dev/null
+++ b/devel/shellcheck/HISTORY
@@ -0,0 +1,2 @@
+2026-08-18 Ismael Luceno <ismael AT sourcemage.org>
+ * BUILD, DEPENDS, DETAILS, INSTALL, WATCH: spell created
diff --git a/devel/shellcheck/INSTALL b/devel/shellcheck/INSTALL
new file mode 100755
index 0000000..3da7e9c
--- /dev/null
+++ b/devel/shellcheck/INSTALL
@@ -0,0 +1,2 @@
+install -vDt "$INSTALL_ROOT/usr/bin" \
+ -m755 "$SOURCE_DIRECTORY/dist/build/shellcheck/shellcheck"
diff --git a/devel/shellcheck/WATCH b/devel/shellcheck/WATCH
new file mode 100644
index 0000000..6eaaac6
--- /dev/null
+++ b/devel/shellcheck/WATCH
@@ -0,0 +1 @@
+0 . https://github.com/koalaman/shellcheck/tags
- [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (f3a8f4c088720ca1f379b79003be46c8291dcb57), Ismael Luceno, 08/19/2026
Archive powered by MHonArc 2.6.24.