summaryrefslogtreecommitdiff
path: root/extra/zsh
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-09-20 02:18:37 -0700
committerroot <root@rshg054.dnsready.net>2013-09-20 02:18:37 -0700
commit42fbe2d214b850ded06b23ca33f3aa2880e60dbb (patch)
tree7ef6919070a16c5262d475cdbb75364a359a8b57 /extra/zsh
parentaa563cdeb6975b896ccf30d96943830c15becde0 (diff)
Fri Sep 20 02:14:49 PDT 2013
Diffstat (limited to 'extra/zsh')
-rw-r--r--extra/zsh/PKGBUILD17
1 files changed, 12 insertions, 5 deletions
diff --git a/extra/zsh/PKGBUILD b/extra/zsh/PKGBUILD
index d1091cf0d..034b66e99 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')
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 \