diff options
author | Sven Wick | 2018-12-20 15:52:31 +0100 |
---|---|---|
committer | Sven Wick | 2018-12-20 15:52:31 +0100 |
commit | 2fcc7c597df0de96f10cc0a3b7c6c3257b20431e (patch) | |
tree | ab83c412f63a9e1b4ec3f1d1e13cc93a7680560c | |
download | aur-2fcc7c597df0de96f10cc0a3b7c6c3257b20431e.tar.gz |
Initial Commit
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 39 |
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..279ccfe6ad86 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = ssh-tools + pkgdesc = collection of various tools using ssh + pkgver = 1.4 + pkgrel = 1 + url = https://github.com/vaporup/ssh-tools/ + arch = any + license = GPL + makedepends = help2man + depends = openssh + optdepends = colordiff: colors for ssh-diff + source = https://github.com/vaporup/ssh-tools/archive/v1.4.tar.gz + md5sums = 0cf8eb854944f0fa5b6635268d52c9cb + +pkgname = ssh-tools diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3e25d680b37b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ + +# Maintainer: Sven Wick <sven.wick@gmx.de> + +pkgname=ssh-tools +pkgver=1.4 +pkgrel=1 +pkgdesc="collection of various tools using ssh" +arch=("any") +url="https://github.com/vaporup/ssh-tools/" +license=("GPL") +depends=("openssh") +optdepends=("colordiff: colors for ssh-diff") +makedepends=("help2man") +changelog= +source=("https://github.com/vaporup/${pkgname}/archive/v${pkgver}.tar.gz") +md5sums=("0cf8eb854944f0fa5b6635268d52c9cb") + +build() { + cd "$pkgname-$pkgver" + + mkdir -p "man" + + help2man -n "check if host is reachable using ssh_config" -S SSH-TOOLS -N --version-string " " -o man/ssh-ping.1 ./ssh-ping + help2man -n "shows version of the SSH server you are connecting to" -S SSH-TOOLS -N --version-string " " -o man/ssh-version.1 ./ssh-version + help2man -n "diff a file over SSH" -S SSH-TOOLS -N --version-string " " -o man/ssh-diff.1 ./ssh-diff + help2man -n "get some facts about the remote system" -S SSH-TOOLS -N --version-string " " -o man/ssh-facts.1 ./ssh-facts + +} + +package() { + cd "$pkgname-$pkgver" + + mkdir -p $pkgdir/usr/share/man/man1/ + cp man/* $pkgdir/usr/share/man/man1/ + + mkdir -p $pkgdir/usr/bin/ + cp ssh-* $pkgdir/usr/bin/ +} + |