# Maintainer: Erich Eckner pkgname=cssh pkgver=0.0.1+13+gf17468a _commit=${pkgver##*+g} pkgrel=1 arch=('i686' 'pentium4' 'x86_64') pkgdesc='Parallel ssh client written in C' url='https://github.com/andreasbaumann/cssh' license=('GPL2') _pinned_dependencies=( 'glibc>=2.31' 'libssh=0.11.1' 'ncurses=6.5' ) depends=("${_pinned_dependencies[@]}") makedepends=('git' 'cmake' 'gengetopt') source=("cssh::git+https://git.andreasbaumann.cc/cgit/cssh#commit=${_commit}") sha512sums=('SKIP') pkgver() { cd "${srcdir}/${pkgname}" git describe --tags "${_commit}" \ | sed ' s/^v// y/-/+/ ' } build() { cd "${srcdir}/${pkgname}" mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. make } package() { cd "${srcdir}/${pkgname}/build" make DESTDIR="${pkgdir}" install }