diff options
author | Sibren Vasse | 2021-08-01 14:58:14 +0200 |
---|---|---|
committer | Sibren Vasse | 2021-08-01 14:58:14 +0200 |
commit | 845d6e69da613933ed862c22fdddfdaf4cc5685b (patch) | |
tree | 271df51df99b88fd3e206f2beb86e1ed7741a4e4 | |
parent | 96362c04ec32843230c7dad5381237d77c107b81 (diff) | |
download | aur-845d6e69da613933ed862c22fdddfdaf4cc5685b.tar.gz |
Install autocomplete and docs, and add glibc dependency
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 10 insertions, 3 deletions
@@ -1,11 +1,12 @@ pkgbase = advanced-ssh-config pkgdesc = ssh wrapper using ProxyCommand that adds regex, aliases, gateways, includes, dynamic hostnames to SSH and ssh-config pkgver = 2.11.3 - pkgrel = 1 + pkgrel = 2 url = https://github.com/moul/assh arch = x86_64 license = MIT makedepends = go + depends = glibc conflicts = assh-git source = advanced-ssh-config-2.11.3.tar.gz::https://github.com/moul/assh/archive/v2.11.3.tar.gz sha256sums = da95db33f72ad2531124b0de42074ba61ac1eebdad90bac90c68d1b02aa51354 @@ -6,11 +6,12 @@ pkgname=advanced-ssh-config _name=assh pkgver=2.11.3 _vcsref=281772c -pkgrel=1 +pkgrel=2 pkgdesc='ssh wrapper using ProxyCommand that adds regex, aliases, gateways, includes, dynamic hostnames to SSH and ssh-config' arch=('x86_64') url='https://github.com/moul/assh' license=('MIT') +depends=('glibc') makedepends=('go') conflicts=('assh-git') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/moul/assh/archive/v${pkgver}.tar.gz") @@ -22,7 +23,6 @@ build() { -trimpath \ -buildmode=pie \ -modcacherw \ - -ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" \ -ldflags "-X 'moul.io/assh/v2/pkg/version.Version=${pkgver}' -X 'moul.io/assh/v2/pkg/version.VcsRef=${_vcsref}'" \ -o assh \ . @@ -36,6 +36,12 @@ check() { package() { cd "$_name-$pkgver" install -Dm755 assh "${pkgdir}/usr/bin/assh" + install -Dm755 contrib/completion/zsh_autocomplete "${pkgdir}/usr/share/zsh/site-functions/_assh" + install -Dm755 contrib/completion/bash_autocomplete "${pkgdir}/usr/share/bash-completion/completions/assh" + for _dir_name in examples/* + do + install -Dm755 -t "${pkgdir}/usr/share/doc/advanced-ssh-config/$_dir_name" $_dir_name/* + done install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" } |