NAME="zsh" VERSION=5.8 RELEASE=1 CATEGORY="Shells" SUMMARY="The Z-Shell" DESCRIPTION="Zsh is a UNIX command interpreter (shell) usable as an interactive login shell and as a shell script command processor. Of the standard shells, zsh most closely resembles \`ksh\' but includes many enhancements. Zsh has command line editing, builtin spelling correction, programmable command completion, shell functions (with autoloading), a history mechanism, and a host of other features." HOMEPAGE="http://zsh.sourceforge.net/" SRC_URI="http://www.zsh.org/pub/zsh-${VERSION}.tar.xz" PATCH_URI=" cygwin-Src_zsh_system.h.patch cygwin-add-files-specific-to-cygwin.patch cygwin-add-comletion-file-for-cygwin-commands.patch upstream-fix-make-install-error.patch " CYGCONF_ARGS+=" --enable-function-subdirs --enable-gdbm --enable-multibyte --enable-pcre --enable-zsh-secure-free " zsh_REQUIRES="cygwin libncursesw10 libpcre1 libiconv2 libgdbm6" KEEPDIRS="/usr/share/zsh/site-functions" src_install() { cd ${B} cyginstall install.html install.info exeinto /usr/bin doexe ${S}/cygwin/bin/mkzsh insinto /etc doins ${S}/cygwin/startup-files/zprofile insinto /etc/profile.d doins ${S}/cygwin/profile.d/zshell.zsh }