summaryrefslogtreecommitdiffstats
path: root/shell-term-fm
diff options
context:
space:
mode:
authorIsmael Luceno2020-08-21 19:39:01 +0200
committerIsmael Luceno2020-08-21 19:39:01 +0200
commite93a64d5c5fc2b435db4a817e3b45922f6b8fee3 (patch)
tree971ddb1dcf4b6cf1fe66d67b717d88b61946f840 /shell-term-fm
parent4dfe1130f173e978f996ca76a98a15e47d70fcfe (diff)
yash: new spell, Yet Another Shell
Diffstat (limited to 'shell-term-fm')
-rwxr-xr-xshell-term-fm/yash/BUILD6
-rwxr-xr-xshell-term-fm/yash/DETAILS27
-rw-r--r--shell-term-fm/yash/HISTORY2
3 files changed, 35 insertions, 0 deletions
diff --git a/shell-term-fm/yash/BUILD b/shell-term-fm/yash/BUILD
new file mode 100755
index 0000000000..f65a9ead40
--- /dev/null
+++ b/shell-term-fm/yash/BUILD
@@ -0,0 +1,6 @@
+# FIXME -D_XOPEN_SOURCE >= 500 required for setgrent
+# FIXME -D_POSIX_C_SOURCE >= 200112L required for setenv/unsetenv
+# maybe other portability issues
+CFLAGS+=" -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600" &&
+./configure --prefix="$INSTALL_ROOT"/usr &&
+make -j "$MAKE_NJOBS"
diff --git a/shell-term-fm/yash/DETAILS b/shell-term-fm/yash/DETAILS
new file mode 100755
index 0000000000..a94f825e10
--- /dev/null
+++ b/shell-term-fm/yash/DETAILS
@@ -0,0 +1,27 @@
+ SPELL=yash
+ VERSION=2.50
+ SOURCE="$SPELL-$VERSION.tar.xz"
+ SOURCE_URL[0]=https://dotsrc.dl.osdn.net/osdn/$SPELL/73097/$SOURCE
+ SOURCE_HASH=sha512:fc78d61b09f7c81d1d7bd3f4feefa7d4c0de910524759ebcba2b53322abc3f1e0a937007b36a5060af0ee759df210ec06d5eed2c71cf3f7ccd0825521b50edb7
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ WEB_SITE="https://yash.osdn.jp/"
+ LICENSE[0]="GPL-2.0-or-later"
+ ENTERED=20200821
+ KEYWORDS=""
+ SHORT="Yet Another Shell"
+cat << EOF
+Yash, yet another shell, is a POSIX-compliant command line shell written in C99
+(ISO/IEC 9899:1999). Yash is intended to be the most POSIX-compliant shell in
+the world while supporting features for daily interactive and scripting use.
+Notable features are:
+
+- Global aliases
+- Arrays
+- Socket redirection, pipeline redirection, and process redirection
+- Brace expansion and extended globbing
+- Fractional numbers in arithmetic expansion
+- Prompt command and command-not-found handler
+- Command line completion with predefined completion scripts for more than 100
+ commands
+- Command line prediction based on command history
+EOF
diff --git a/shell-term-fm/yash/HISTORY b/shell-term-fm/yash/HISTORY
new file mode 100644
index 0000000000..e25514558a
--- /dev/null
+++ b/shell-term-fm/yash/HISTORY
@@ -0,0 +1,2 @@
+2020-08-21 Ismael Luceno <ismael@sourcemage.org>
+ * BUILD, DETAILS: spell created