2011-07-30 16:57:17 +02:00
|
|
|
# Template file for 'zsh'
|
|
|
|
pkgname=zsh
|
2014-10-09 07:04:10 +02:00
|
|
|
version=5.0.7
|
2014-08-29 12:27:29 +02:00
|
|
|
revision=1
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2014-01-06 12:27:21 +01:00
|
|
|
make_build_target="all info"
|
2012-11-18 11:07:27 +01:00
|
|
|
make_install_args="install.info"
|
2012-06-04 14:28:07 +02:00
|
|
|
configure_args="--enable-etcdir=/etc/zsh --enable-zshenv=/etc/zsh/zshenv
|
2012-12-22 04:20:05 +01:00
|
|
|
--enable-zlogin=/etc/zsh/zlogin --enable-zlogout=/etc/zsh/zlogout
|
|
|
|
--enable-zprofile=/etc/profile --enable-zshrc=/etc/zsh/zshrc
|
|
|
|
--enable-maildir-support --enable-function-subdirs
|
|
|
|
--enable-fndir=/usr/share/zsh/functions --with-term-lib=ncursesw
|
|
|
|
--enable-scriptdir=/usr/share/zsh/scripts --enable-pcre
|
|
|
|
--enable-multibyte --enable-cap --with-tcsetpgrp"
|
2014-10-09 07:04:10 +02:00
|
|
|
hostmakedepends="pcre-devel"
|
|
|
|
makedepends="gdbm-devel pcre-devel libcap-devel ncurses-devel"
|
2014-01-01 16:10:11 +01:00
|
|
|
register_shell="/bin/zsh"
|
2012-12-22 04:20:05 +01:00
|
|
|
short_desc="The Z SHell"
|
2011-07-30 16:57:17 +02:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="http://www.zsh.org"
|
|
|
|
license="zsh"
|
2012-06-04 14:28:07 +02:00
|
|
|
distfiles="http://www.zsh.org/pub/zsh-$version.tar.bz2"
|
2014-10-09 07:04:10 +02:00
|
|
|
checksum=544e27de81740286b916d1d77c9f48ad7c26ad7943ed96d278abee67cf6704b3
|
2011-07-30 16:57:17 +02:00
|
|
|
|
2014-03-15 10:02:10 +01:00
|
|
|
lib32disabled=yes
|
|
|
|
|
2012-07-25 07:54:02 +02:00
|
|
|
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
|
2013-12-15 12:17:19 +01:00
|
|
|
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
|
2012-07-25 07:54:02 +02:00
|
|
|
rm -f Completion/Linux/Command/_{pkgtool,rpmbuild,yast}
|
2014-03-14 11:53:45 +01:00
|
|
|
rm -f Completion/Unix/Command/_{notmuch,osc,systemd}
|
2012-07-25 07:54:02 +02:00
|
|
|
}
|
2011-12-10 10:06:15 +01:00
|
|
|
post_install() {
|
2014-08-29 12:27:29 +02:00
|
|
|
vlicense LICENCE
|
2011-07-30 16:57:17 +02:00
|
|
|
}
|