# Contributor: Dan Theisen # Contributor: Milan P. Stanić # Maintainer: Dan Theisen pkgname=tcsh pkgver=6.24.10 pkgrel=0 pkgdesc="extended C-shell" url="https://github.com/tcsh-org/tcsh" arch="all" license="BSD-3-Clause" checkdepends="diffutils autoconf" makedepends="ncurses-dev" install="$pkgname.post-install $pkgname.post-upgrade $pkgname.pre-deinstall" subpackages="$pkgname-doc" source="https://astron.com/pub/tcsh/tcsh-$pkgver.tar.gz csh.login csh.cshrc " build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --bindir=/bin \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --disable-rpath make } check() { make check } package() { make DESTDIR="$pkgdir" install install -Dm0644 "$srcdir/csh.cshrc" "$pkgdir/etc/csh.cshrc" install -Dm0644 "$srcdir/csh.login" "$pkgdir/etc/csh.login" ln -s tcsh "$pkgdir/bin/csh" ln -s tcsh.1 "$pkgdir/usr/share/man/man1/csh.1" rm -rf "$pkgdir"/usr/share/locale } sha512sums=" 74bd17f4d8bb1fb60a2a6904d87e26b7490f0ec571866e62d6e1d35e9da435c888ab14bfa842d7282e8993d366580439b4cc884b08a22e45dc98a36f813094be tcsh-6.24.10.tar.gz 331dd02a5cf64fa281226ab0895c07557015895fe1079894c6d2162827f3e8b07a99245be1de93c93a8f0dfa136c447eae5a5a9d41352157743ff03f6ccb9b23 csh.login 205628d2f0825aab9a1eb3b33b4de2377d010dbb3a098388fb11febda10ca2385ecacaa27c5428dbd7d9d711c913cddca72379c825bfb63385ebc3643253cb37 csh.cshrc "