opt/zsh/Pkgfile

41 lines
1.1 KiB
Plaintext
Raw Normal View History

2006-04-06 19:26:00 +02:00
# Description: Very powerfull shell
# URL: http://www.zsh.org/
# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
# Depends on: libpcre
2006-04-06 19:26:00 +02:00
name=zsh
2010-12-21 21:56:33 +01:00
version=4.3.11
release=1
2006-04-06 19:26:00 +02:00
source=(http://www.zsh.org/pub/$name-$version.tar.bz2 \
zsh-lovers.1)
2006-04-06 19:26:00 +02:00
build() {
cd $name-$version
./configure \
--prefix=/usr \
2008-02-27 18:29:55 +01:00
--mandir=/usr/man \
2006-04-06 19:26:00 +02:00
--enable-etcdir=/etc/zsh \
--enable-zshrc=/etc/zsh/zshrc \
--enable-zshlogin=/etc/zsh/zshlogin \
--enable-zshenv=/etc/zsh/zshenv \
--enable-fndir=/usr/share/zsh/$version/functions \
--enable-site-fndir=/usr/share/zsh/site-functions \
--enable-zsh-mem \
--enable-maildir-support \
--enable-function-subdirs \
--enable-pcre \
--enable-restricted-r \
--enable-lfs \
--enable-cap \
--with-curses-terminfo
make
make DESTDIR=$PKG install
install -m 644 $SRC/zsh-lovers.1 $PKG/usr/man/man1/
# These completion files break things for CRUX' pkgutils,
# so remove them for now (see bug #381).
rm $PKG/usr/share/zsh/$version/functions/Completion/Unix/_pkg{add,rm,info}
2006-04-06 19:26:00 +02:00
}