opt/zsh/Pkgfile

38 lines
1012 B
Plaintext
Raw Normal View History

2006-04-06 19:26:00 +02:00
# Description: Very powerfull shell
# URL: http://www.zsh.org/
# Packager: Christian Schneider, strcat at gmx dot net
# Maintainer: Simon Glo<6C>ner, viper at hometux dot de
# Nice to have: libpcre
2006-04-06 19:26:00 +02:00
name=zsh
2008-11-08 10:39:14 +01:00
version=4.3.9
release=1
2006-04-06 19:26:00 +02:00
source=(http://www.zsh.org/pub/$name-$version.tar.bz2 \
http://www.grml.org/zsh/zsh-lovers.1)
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/
}