blob: 386245467a0223a687abd17da5a566f95aaa4864 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# $Id: PKGBUILD 92256 2013-06-03 11:15:29Z allan $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Eric Belanger <eric@archlinux.org>
# Contributor: Judd Vinet <jvinet@zeroflux.org>
pkgname=tcsh
pkgver=6.18.01
pkgrel=2
pkgdesc='Enhanced version of the Berkeley C shell.'
arch=('i686' 'x86_64')
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:
|