From cb6cce5732a6e4b03160c409294d3c074d9838e9 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Tue, 10 Dec 2019 14:05:48 +0300 Subject: added bash and zsh to testing --- testing/zsh/build | 26 ++++++++++++++++++++++++++ testing/zsh/checksums | 2 ++ testing/zsh/depends | 2 ++ testing/zsh/files/zprofile | 1 + testing/zsh/sources | 2 ++ testing/zsh/version | 1 + 6 files changed, 34 insertions(+) create mode 100755 testing/zsh/build create mode 100644 testing/zsh/checksums create mode 100644 testing/zsh/depends create mode 100644 testing/zsh/files/zprofile create mode 100644 testing/zsh/sources create mode 100644 testing/zsh/version (limited to 'testing/zsh') 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" diff --git a/testing/zsh/checksums b/testing/zsh/checksums new file mode 100644 index 00000000..da345295 --- /dev/null +++ b/testing/zsh/checksums @@ -0,0 +1,2 @@ +7260292c2c1d483b2d50febfa5055176bd512b32a8833b116177bf5f01e77ee8 zsh-5.7.1.tar.xz +d36a5d7b15578998ae083cb11c5c0f63e0e938abb6ad4a229c482aa83dcf1a52 zprofile diff --git a/testing/zsh/depends b/testing/zsh/depends new file mode 100644 index 00000000..68ca5e2e --- /dev/null +++ b/testing/zsh/depends @@ -0,0 +1,2 @@ +ncurses +xz make diff --git a/testing/zsh/files/zprofile b/testing/zsh/files/zprofile new file mode 100644 index 00000000..f49734a8 --- /dev/null +++ b/testing/zsh/files/zprofile @@ -0,0 +1 @@ +emulate sh -c '. /etc/profile' diff --git a/testing/zsh/sources b/testing/zsh/sources new file mode 100644 index 00000000..f28549a5 --- /dev/null +++ b/testing/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/testing/zsh/version b/testing/zsh/version new file mode 100644 index 00000000..52aeb0dc --- /dev/null +++ b/testing/zsh/version @@ -0,0 +1 @@ +5.7.1 1 -- cgit v1.2.3