blob: b9611e42e9fff75bab7c62d081cc97ee5bdb4a83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: Hyacinthe Cartiaux <hyacinthe.cartiaux@free.fr>
# Contributor: Philipp Schmitt <philipp@schmitt.co>
pkgname=advanced-ssh-config
pkgver=2.6.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 -d ${_gourl}
cd "${srcdir}/src/github.com/moul/${pkgname}/"
git checkout "tags/v${pkgver}"
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:
|