From 56bbcca96f661f42c1f3f85bf068efd8006aeb34 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Sat, 26 Jul 2014 17:15:43 +0200 Subject: [PATCH] New package: tcsh-6.18.01 --- srcpkgs/tcsh/files/csh.cshrc | 7 +++++++ srcpkgs/tcsh/files/csh.login | 4 ++++ srcpkgs/tcsh/template | 22 ++++++++++++++++++++++ 3 files changed, 33 insertions(+) create mode 100644 srcpkgs/tcsh/files/csh.cshrc create mode 100644 srcpkgs/tcsh/files/csh.login create mode 100644 srcpkgs/tcsh/template diff --git a/srcpkgs/tcsh/files/csh.cshrc b/srcpkgs/tcsh/files/csh.cshrc new file mode 100644 index 00000000000..1e53360b65f --- /dev/null +++ b/srcpkgs/tcsh/files/csh.cshrc @@ -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 ) diff --git a/srcpkgs/tcsh/files/csh.login b/srcpkgs/tcsh/files/csh.login new file mode 100644 index 00000000000..58e0811d87e --- /dev/null +++ b/srcpkgs/tcsh/files/csh.login @@ -0,0 +1,4 @@ +# Void Linux csh.login + +umask 022 +setenv SHELL /bin/tcsh diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template new file mode 100644 index 00000000000..d5bebf52e8d --- /dev/null +++ b/srcpkgs/tcsh/template @@ -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 " +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 +}