# Contributor: # Maintainer: Natanael Copa pkgname=zsh pkgver=5.1.1 pkgrel=0 pkgdesc="A very advanced and programmable command interpreter (shell)" url="http://www.zsh.org/" arch="all" license="BSD" depends= makedepends=ncurses-dev install="zsh.post-install zsh.post-upgrade zsh.pre-deinstall" source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.xz zprofile" subpackages="$pkgname-doc" _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-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 || return 1 install -Dm644 "$srcdir"/zprofile "$pkgdir"/etc/zsh/zprofile } md5sums="0e8ea3313300277a04cee80836507bae zsh-5.1.1.tar.xz a5e93cd6880da04a63fc4fcaaa03987f zprofile" sha256sums="74e9453b5470b3c0970f9f93cfd603d241c3d7b1968adc0e4b3951073e8d3dec zsh-5.1.1.tar.xz e3c3625d966c8277274798f26241857df5fc520e18674deba6cc356f6b022d63 zprofile" sha512sums="732f183a03125e83da11a38c638ca54a667326a23ca19418b0df27b1d5b3b1f360383d84f66bde064911effaa2ce9cbb9b6ab86deddb92f80e8f601af8a82b3e zsh-5.1.1.tar.xz 59182b99447872ded8adf0d890e9359ee47fce0b7acb2808f4308f945885fbf6d977a0917bbb5c0f21454caf3ba06ab092127732da4f84292d6ab0989a0110fe zprofile"