aboutsummaryrefslogtreecommitdiff
path: root/testing/zsh/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2019-12-10 14:05:48 +0300
committerCem Keylan <cem@ckyln.com>2019-12-10 14:05:48 +0300
commitcb6cce5732a6e4b03160c409294d3c074d9838e9 (patch)
tree3f65b80eb0c5f15b42103245e203fc7a17ebc292 /testing/zsh/build
parentc23c23a281be7f52a4056ad06398c674a8c78e44 (diff)
downloadrepository-cb6cce5732a6e4b03160c409294d3c074d9838e9.tar.gz
added bash and zsh to testing
Diffstat (limited to 'testing/zsh/build')
-rwxr-xr-xtesting/zsh/build26
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/zsh/build b/testing/zsh/build
new file mode 100755
index 00000000..100849d8
--- /dev/null
+++ b/testing/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"