aboutsummaryrefslogtreecommitdiff
path: root/extra/zsh/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2019-12-10 17:44:09 +0300
committerCem Keylan <cem@ckyln.com>2019-12-10 17:44:09 +0300
commit938cb1f54f0174a5994345e4dc49888c614db430 (patch)
treed7ba58e9fec35fb2e14412fcd884cde49cbf4537 /extra/zsh/build
parent3c7785b8f052b623e2d478b0161820eaeef764c3 (diff)
downloadrepository-938cb1f54f0174a5994345e4dc49888c614db430.tar.gz
move shells to extra
Diffstat (limited to 'extra/zsh/build')
-rwxr-xr-xextra/zsh/build26
1 files changed, 26 insertions, 0 deletions
diff --git a/extra/zsh/build b/extra/zsh/build
new file mode 100755
index 00000000..100849d8
--- /dev/null
+++ b/extra/zsh/build
@@ -0,0 +1,26 @@
+#!/bin/sh -e
+
+{
+ printf "functions='Completion/*comp* "
+ for comp in Base Linux Unix X Zsh; do
+ printf "Completion/%s/*/* " "$comp"
+ done
+ printf "'\\n"
+} >> Src/Zle/complete.mdd
+
+rm -f Completion/Linux/Command/_pkgtool
+rm -f Completion/Linux/Command/_rpmbuild
+
+./configure \
+ --prefix=/usr \
+ --enable-function-subdirs \
+ --enable-fndir=/usr/share/zsh/functions \
+ --enable-runhelpdir=/usr/share/zsh/help \
+ --enable-scriptdir=/usr/share/zsh/scripts \
+ --enable-additional-fpath=/usr/share/zsh/vendor-completions \
+ --disable-gdbm
+
+make
+make DESTDIR="$1" install
+
+install -Dm 644 zprofile "$1/etc/zprofile"