opt/tcsh/Pkgfile

27 lines
680 B
Plaintext

# Description: Enhanced version of the Berkeley C shell (csh)
# URL: http://www.tcsh.org
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: ncurses
name=tcsh
version=6.19.00
release=2
source=(ftp://ftp.astron.com/pub/tcsh/$name-$version.tar.gz \
csh.login csh.logout csh.cshrc
$name-$version.patch)
build() {
cd $name-$version
# several fixes from git, https://github.com/tcsh-org/tcsh
# fix to remove compiler warning
patch -p1 -i $SRC/$name-$version.patch
./configure --prefix=/usr --bindir=/bin --disable-nls
make
make DESTDIR=$PKG install
install -d $PKG/etc
install -m 644 $SRC/csh.* $PKG/etc
}