void-packages/srcpkgs/zsh/template

40 lines
1.5 KiB
Text
Raw Normal View History

2011-07-30 14:57:17 +00:00
# Template file for 'zsh'
pkgname=zsh
2012-07-25 05:54:02 +00:00
version=5.0.0
revision=1
build_style=gnu-configure
2012-06-04 12:28:07 +00:00
configure_args="--enable-etcdir=/etc/zsh --enable-zshenv=/etc/zsh/zshenv
--enable-zlogin=/etc/zsh/zlogin --enable-zlogout=/etc/zsh/zlogout
--enable-zprofile=/etc/profile --enable-zshrc=/etc/zsh/zshrc
2011-07-30 14:57:17 +00:00
--enable-maildir-support --enable-function-subdirs
2012-06-04 12:28:07 +00:00
--enable-fndir=/usr/share/zsh/functions --with-term-lib=ncursesw
--enable-scriptdir=/usr/share/zsh/scripts --enable-pcre
--enable-multibyte --enable-cap --with-tcsetpgrp"
2012-07-07 11:41:00 +00:00
makedepends="gdbm-devel pcre-devel>=8.30 libcap-devel ncurses-devel"
2012-06-04 12:28:07 +00:00
register_shell="/bin/zsh"
2011-07-30 14:57:17 +00:00
short_desc="Z SHell"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.zsh.org"
license="zsh"
2012-06-04 12:28:07 +00:00
distfiles="http://www.zsh.org/pub/zsh-$version.tar.bz2"
2012-07-25 05:54:02 +00:00
checksum=cd014a8e09a3607c68369d1615db96d0fbb7279a125950b32032fd448c44a888
2011-07-30 14:57:17 +00:00
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."
2012-07-25 05:54:02 +00: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
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
}
2011-12-10 09:06:15 +00:00
post_install() {
2011-07-30 14:57:17 +00:00
vinstall LICENCE 644 usr/share/licenses/zsh
}