opt/zsh/Pkgfile

45 lines
1.2 KiB
Plaintext
Raw Normal View History

2006-04-06 19:26:00 +02:00
# Description: Very powerfull shell
# URL: http://www.zsh.org/
2011-06-20 15:25:33 +02:00
# Maintainer: Thomas Penteker, tek at serverop dot de
# Packager: Tilman Sauerbeck, tilman at crux dot nu
# Depends on: libpcre
2006-04-06 19:26:00 +02:00
name=zsh
2013-02-04 13:36:04 +01:00
version=5.0.2
2010-12-21 21:56:33 +01:00
release=1
2012-08-02 22:49:35 +02:00
source=(http://downloads.sourceforge.net/project/zsh/zsh/$version/zsh-$version.tar.bz2 \
zsh-lovers.1)
2006-04-06 19:26:00 +02:00
build() {
cd $name-$version
./configure \
2011-06-20 15:25:33 +02:00
--prefix=/usr \
--mandir=/usr/man \
--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
2006-04-06 19:26:00 +02:00
make
make DESTDIR=$PKG install
install -m 644 $SRC/zsh-lovers.1 $PKG/usr/man/man1/
2011-06-20 15:25:33 +02:00
install -d $PKG/bin
ln -s /usr/bin/zsh $PKG/bin
# 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
}