57 lines
2.1 KiB
Bash
57 lines
2.1 KiB
Bash
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
|
# Maintainer: Lukas Fleischer <lfleischer@archlinux.org>
|
|
# Maintainer: George Rawlinson <grawlinson@archlinux.org>
|
|
# Contributor: Eric Belanger <eric@archlinux.org>
|
|
# Contributor: Judd Vinet <jvinet@zeroflux.org>
|
|
|
|
pkgname=tcsh
|
|
pkgver=6.24.13
|
|
pkgrel=1
|
|
pkgdesc='Enhanced version of the Berkeley C shell'
|
|
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
|
url='https://www.tcsh.org/'
|
|
license=('BSD')
|
|
depends=('glibc' 'ncurses' 'libxcrypt')
|
|
backup=('etc/csh.cshrc'
|
|
'etc/csh.login')
|
|
install='tcsh.install'
|
|
source=(https://astron.com/pub/tcsh/tcsh-${pkgver}.tar.gz{,.asc}
|
|
'csh.cshrc'
|
|
'csh.login')
|
|
validpgpkeys=('AD87109763D8D8C2C94CBA8065C26E471F45B123') # Kimmo Suominen
|
|
sha512sums=('7405d3102c0cf70dd01396681e3fd69aeec70da7a99f6ffccc163ebd723fff0f2640f78fbcf452413edf24c96b22962f286fce5a3a1ac71276a348faacf9b231'
|
|
'SKIP'
|
|
'0710c014b7b42ba8c69beb20ec2b8da44c9318013e83e8a38b2c94da1b11beb50a62cc9d82b7db1b3ee79bb0acf5f2a199e2ee2d745d541ea787e3c6a0069844'
|
|
'97f9f3e376517bd47aee67b48456b4892e0cb2c6f9c3e4b49d7b75cc23f52e69b06f024fbca1e72442d443720753b93fd9714160e551eab54d3de3757268d2d7')
|
|
b2sums=('5ed95c6acce0e12b21c92758f13397d12792e7e26ea6328442bdf2716e335b1ef1a4c277b2a8db137c6446ede5b5bfdbc933716906ae13e45bf1107ab5ab6086'
|
|
'SKIP'
|
|
'016e65a672aba6d9b7283d63435a8ebd01818d56f11fb3c1203b1fd51fb1a67760c8f53b22be409319b3db18b0f81df09103de673579a5a5e1b6e07109069f94'
|
|
'da0fa27875507d646e869c5a8cdfecb793cd848c38e626704cdf5adb8ec2eef7fd98e3bab6eceea7d99fda25093364c48a8c44417575574a5ad0753b87cef2e3')
|
|
|
|
build() {
|
|
cd "$pkgname-$pkgver"
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--bindir=/usr/bin
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$pkgname-$pkgver"
|
|
|
|
make DESTDIR="$pkgdir" mandir=/usr/share/man install install.man
|
|
|
|
# shell configuration
|
|
install -vDm644 -t "$pkgdir/etc" ../csh.{cshrc,login}
|
|
|
|
# symlinks for tcsh -> csh
|
|
ln -s tcsh "$pkgdir/usr/bin/csh"
|
|
ln -s tcsh.1 "$pkgdir/usr/share/man/man1/csh.1"
|
|
|
|
# license
|
|
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" Copyright
|
|
}
|