# $Id: PKGBUILD 92256 2013-06-03 11:15:29Z allan $ # Maintainer: Lukas Fleischer # Contributor: Eric Belanger # Contributor: Judd Vinet pkgname=tcsh pkgver=6.18.01 pkgrel=2 pkgdesc='Enhanced version of the Berkeley C shell.' arch=('i686' 'x86_64' 'mips64el') url='http://www.tcsh.org/Welcome' license=('BSD') depends=('ncurses') backup=('etc/csh.cshrc' 'etc/csh.login') install='tcsh.install' source=("ftp://ftp.astron.com/pub/${pkgname}/${pkgname}-${pkgver}.tar.gz" 'csh.cshrc' 'csh.login') md5sums=('6eed09dbd4223ab5b6955378450d228a' '7ca0fe6d1a1b9a0093f632499d4fb112' '4869b9da87c79854e2cc97241f125853') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --sysconfdir=/etc --bindir=/usr/bin make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" mandir=/usr/share/man install install.man install -Dm0644 "${srcdir}/csh.cshrc" "${pkgdir}/etc/csh.cshrc" install -Dm0644 "${srcdir}/csh.login" "${pkgdir}/etc/csh.login" install -Dm0644 Copyright "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" ln -s tcsh "${pkgdir}/usr/bin/csh" ln -s tcsh.1 "${pkgdir}/usr/share/man/man1/csh.1" } # vim:set ts=2 sw=2 et: