New package: tcsh-6.18.01

This commit is contained in:
Christian Neukirchen 2014-07-26 17:15:43 +02:00
parent b32df236e4
commit 56bbcca96f
3 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,7 @@
# Void Linux csh.cshrc
if ( -r /etc/csh.env ) then
source /etc/csh.env
endif
set -f path = ( $path /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin /bin /sbin )

View File

@ -0,0 +1,4 @@
# Void Linux csh.login
umask 022
setenv SHELL /bin/tcsh

22
srcpkgs/tcsh/template Normal file
View File

@ -0,0 +1,22 @@
# Template file for 'tcsh'
pkgname=tcsh
version=6.18.01
revision=1
build_style=gnu-configure
register_shell="/bin/tcsh /bin/csh"
conf_files="/etc/csh.login /etc/csh.cshrc"
makedepends="ncurses-devel"
short_desc="Enhanced but compatible version of the Berkeley C shell"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="BSD"
homepage="http://www.tcsh.org/"
distfiles="ftp://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=d81ca27851f3e8545666399b4bcf25433e602a195113b3f7c73886fef84c9fa8
post_install() {
vconf ${FILESDIR}/csh.login
vconf ${FILESDIR}/csh.cshrc
ln -s tcsh ${DESTDIR}/usr/bin/csh
ln -s tcsh.1 ${DESTDIR}/usr/share/man/man1/csh.1
vlicense Copyright LICENSE
}