summaryrefslogtreecommitdiff
path: root/zsh/Pkgfile
blob: 0548a0d70111741a00ee6ab613c472b62b538ec6 (plain)
    1 # Description: Very powerfull shell
    2 # URL: http://www.zsh.org/
    3 # Maintainer:  Thomas Penteker, tek at serverop dot de
    4 # Packager: Tilman Sauerbeck, tilman at crux dot nu
    5 # Depends on: libpcre
    6 
    7 name=zsh
    8 version=5.0.2
    9 release=1
   10 source=(http://downloads.sourceforge.net/project/zsh/zsh/$version/zsh-$version.tar.bz2 \
   11         zsh-lovers.1)
   12 
   13 build() {
   14     cd $name-$version
   15 
   16     ./configure \
   17       --prefix=/usr \
   18       --mandir=/usr/man \
   19       --enable-etcdir=/etc/zsh \
   20       --enable-zshrc=/etc/zsh/zshrc \
   21       --enable-zshlogin=/etc/zsh/zshlogin \
   22       --enable-zshenv=/etc/zsh/zshenv \
   23       --enable-fndir=/usr/share/zsh/$version/functions \
   24       --enable-site-fndir=/usr/share/zsh/site-functions \
   25       --enable-zsh-mem \
   26       --enable-maildir-support \
   27       --enable-function-subdirs \
   28       --enable-pcre \
   29       --enable-restricted-r \
   30       --enable-lfs \
   31       --enable-cap \
   32       --with-curses-terminfo
   33     make
   34     make DESTDIR=$PKG install 
   35 
   36     install -m 644 $SRC/zsh-lovers.1 $PKG/usr/man/man1/
   37 
   38     install -d $PKG/bin
   39     ln -s /usr/bin/zsh $PKG/bin
   40 
   41     # These completion files break things for CRUX' pkgutils,
   42     # so remove them for now (see bug #381).
   43     rm $PKG/usr/share/zsh/$version/functions/Completion/Unix/_pkg{add,rm,info}
   44 }

Generated by cgit