From 9f54ab3c0efed0e24f9c5f286fdb75c6b0199b36 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 25 Jul 2012 07:54:02 +0200 Subject: [PATCH] zsh: update to 5.0.0. --- srcpkgs/zsh/template | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/srcpkgs/zsh/template b/srcpkgs/zsh/template index 0306d5c4483..169a7b41631 100644 --- a/srcpkgs/zsh/template +++ b/srcpkgs/zsh/template @@ -1,7 +1,7 @@ # Template file for 'zsh' pkgname=zsh -version=4.3.17 -revision=2 +version=5.0.0 +revision=1 build_style=gnu-configure configure_args="--enable-etcdir=/etc/zsh --enable-zshenv=/etc/zsh/zshenv --enable-zlogin=/etc/zsh/zlogin --enable-zlogout=/etc/zsh/zlogout @@ -17,12 +17,23 @@ maintainer="Juan RP " homepage="http://www.zsh.org" license="zsh" distfiles="http://www.zsh.org/pub/zsh-$version.tar.bz2" -checksum=054e0452afd9c742c9f1489465175e1d4d7db50d88b602d132551d850cf7a704 +checksum=cd014a8e09a3607c68369d1615db96d0fbb7279a125950b32032fd448c44a888 long_desc=" Zsh is a shell designed for interactive use, although it is also a powerful scripting language. Many of the useful features of bash, ksh, and tcsh were incorporated into zsh; many original features were added." +pre_configure() { + # Set correct keymap path + sed -i 's#/usr/share/keymaps#/usr/share/kbd/keymaps#g' \ + Completion/Unix/Command/_loadkeys + + # Remove unneeded and conflicting completion scripts + rm -rf Completion/{AIX,BSD,Cygwin,Darwin,Debian,Mandriva,openSUSE,Redhat,Solaris} + rm -f Completion/Linux/Command/_{pkgtool,rpmbuild,yast} + rm -f Completion/Unix/Command/_osc +} + post_install() { vinstall LICENCE 644 usr/share/licenses/zsh }