#!/bin/bash # tcsh # # Douglas Thrift # # $Id$ name=tcsh version=6.14.00 revision=0 categories=(shells) description='Enhanced version of the Berkeley C shell' url='http://www.tcsh.org/Welcome' depends=('base/ncurses') sources=(`site_tcsh` tw.color.c.patch) function build() { gnu_patch tw.color.c.patch || return $? gnu_configure --prefix=/usr --bindir=/bin --mandir=/usr/share/man || return $? gmake install.man DESTDIR=$package || return $? ln -v $package/bin/tcsh $package/bin/csh || return $? ln -sv tcsh.1 $package/usr/share/man/man1/csh.1 }