diff options
Diffstat (limited to 'extra/zsh')
-rw-r--r-- | extra/zsh/PKGBUILD | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/extra/zsh/PKGBUILD b/extra/zsh/PKGBUILD index bd94f4965..b989acd8c 100644 --- a/extra/zsh/PKGBUILD +++ b/extra/zsh/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 192725 2013-08-14 17:32:47Z pierre $ +# $Id: PKGBUILD 194594 2013-09-19 04:27:04Z pierre $ # Maintainer: Pierre Schmitz <pierre@archlinux.de> pkgname=zsh pkgver=5.0.2 -pkgrel=3 +pkgrel=4 pkgdesc='A very advanced and programmable command interpreter (shell) for UNIX' arch=('i686' 'x86_64' 'mips64el') url='http://www.zsh.org/' @@ -16,16 +16,23 @@ source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz md5sums=('b8f2ad691acf58b3252225746480dcad' '24a9335edf77252a7b5f52e079f7aef7') -build() { +prepare() { cd "${srcdir}/${pkgname}-${pkgver}" # 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} + for _fpath in AIX BSD Cygwin Darwin Debian Mandriva openSUSE Redhat Solaris; do + rm -rf Completion/$_fpath + sed "s#\s*Completion/$_fpath/\*/\*##g" -i Src/Zle/complete.mdd + done rm -f Completion/Linux/Command/_{pkgtool,rpmbuild,yast} - rm -f Completion/Unix/Command/_osc + rm -f Completion/Unix/Command/_{osc,systemd} +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr \ --enable-etcdir=/etc/zsh \ |