diff options
author | Philipp Schmitt | 2016-06-01 11:50:34 +0200 |
---|---|---|
committer | Philipp Schmitt | 2016-06-01 11:50:34 +0200 |
commit | 90ab73b1387fd507738f477f34d81c16c967dadd (patch) | |
tree | 461ca2085bb0c5babbe7905833ff4208f1943384 | |
download | aur-90ab73b1387fd507738f477f34d81c16c967dadd.tar.gz |
Import files for assh 2.3.0
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | PKGBUILD | 28 |
3 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e64d7dc5032d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by mksrcinfo v8 +# Wed Jun 1 09:47:54 UTC 2016 +pkgbase = advanced-ssh-config + pkgdesc = ssh wrapper using ProxyCommand that adds regex, aliases, gateways, includes, dynamic hostnames to SSH and ssh-config + pkgver = 2.3.0 + pkgrel = 1 + url = https://github.com/moul/advanced-ssh-config + arch = x86_64 + arch = i686 + license = MIT + makedepends = git + depends = go + options = !strip + options = !emptydirs + +pkgname = advanced-ssh-config + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..26ac48df7db9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +pkg/ +src/ +*.pkg.tar* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f68d5979ee7c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Philipp Schmitt <philipp@schmitt.co> + +pkgname=advanced-ssh-config +pkgver=2.3.0 +pkgrel=1 +pkgdesc='ssh wrapper using ProxyCommand that adds regex, aliases, gateways, includes, dynamic hostnames to SSH and ssh-config' +arch=('x86_64' 'i686') +url='https://github.com/moul/advanced-ssh-config' +license=('MIT') +depends=('go') +makedepends=('git') +options=('!strip' '!emptydirs') +_gourl=github.com/moul/advanced-ssh-config/cmd/assh + +build() { + GOPATH="$srcdir" go get -fix -v -x ${_gourl} +} + +check() { + GOPATH="$srcdir" go test -v -x ${_gourl} +} + +package() { + mkdir -p "$pkgdir/usr/bin" + install -p -m755 "$srcdir/bin/"* "$pkgdir/usr/bin" +} + +# vim:set ts=2 sw=2 et: |