diff options
author | Cem Keylan <cem@ckyln.com> | 2019-12-10 17:44:09 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2019-12-10 17:44:09 +0300 |
commit | 938cb1f54f0174a5994345e4dc49888c614db430 (patch) | |
tree | d7ba58e9fec35fb2e14412fcd884cde49cbf4537 /extra/zsh | |
parent | 3c7785b8f052b623e2d478b0161820eaeef764c3 (diff) | |
download | repository-938cb1f54f0174a5994345e4dc49888c614db430.tar.gz |
move shells to extra
Diffstat (limited to 'extra/zsh')
-rwxr-xr-x | extra/zsh/build | 26 | ||||
-rw-r--r-- | extra/zsh/checksums | 2 | ||||
-rw-r--r-- | extra/zsh/depends | 2 | ||||
-rw-r--r-- | extra/zsh/files/zprofile | 1 | ||||
-rw-r--r-- | extra/zsh/sources | 2 | ||||
-rw-r--r-- | extra/zsh/version | 1 |
6 files changed, 34 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" diff --git a/extra/zsh/checksums b/extra/zsh/checksums new file mode 100644 index 00000000..da345295 --- /dev/null +++ b/extra/zsh/checksums @@ -0,0 +1,2 @@ +7260292c2c1d483b2d50febfa5055176bd512b32a8833b116177bf5f01e77ee8 zsh-5.7.1.tar.xz +d36a5d7b15578998ae083cb11c5c0f63e0e938abb6ad4a229c482aa83dcf1a52 zprofile diff --git a/extra/zsh/depends b/extra/zsh/depends new file mode 100644 index 00000000..68ca5e2e --- /dev/null +++ b/extra/zsh/depends @@ -0,0 +1,2 @@ +ncurses +xz make diff --git a/extra/zsh/files/zprofile b/extra/zsh/files/zprofile new file mode 100644 index 00000000..f49734a8 --- /dev/null +++ b/extra/zsh/files/zprofile @@ -0,0 +1 @@ +emulate sh -c '. /etc/profile' diff --git a/extra/zsh/sources b/extra/zsh/sources new file mode 100644 index 00000000..f28549a5 --- /dev/null +++ b/extra/zsh/sources @@ -0,0 +1,2 @@ +https://sourceforge.net/projects/zsh/files/zsh/5.7.1/zsh-5.7.1.tar.xz +files/zprofile diff --git a/extra/zsh/version b/extra/zsh/version new file mode 100644 index 00000000..52aeb0dc --- /dev/null +++ b/extra/zsh/version @@ -0,0 +1 @@ +5.7.1 1 |