# Contributor: # Maintainer: Natanael Copa pkgname=zsh pkgver=5.0.2 pkgrel=0 pkgdesc="A very advanced and programmable command interpreter (shell) for UNIX" url="http://www.zsh.org/" arch="all" license="custom" depends= makedepends=ncurses-dev install="zsh.post-install zsh.post-upgrade zsh.pre-deinstall" source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2 $install" _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" update_config_sub || return 1 } build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --bindir=/bin \ --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 \ --enable-multibyte \ --enable-function-subdirs \ --enable-zsh-secure-free \ --sysconfdir=/etc \ --with-tcsetpgrp \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install } md5sums="b8f2ad691acf58b3252225746480dcad zsh-5.0.2.tar.bz2 aedff0460ef282937905223207ac702e zsh.post-install aedff0460ef282937905223207ac702e zsh.post-upgrade b48f79e2d4a29047f6152f5a9441f942 zsh.pre-deinstall"