diff options
author | Matthias Lisin | 2019-10-30 01:16:45 +0100 |
---|---|---|
committer | Matthias Lisin | 2019-10-30 01:16:45 +0100 |
commit | c139f120c424a2014ae3f059e1c3b1112783d1cf (patch) | |
tree | 23e883b3cefe788716c41165ea7672ca2b938bab | |
parent | 14c5f3d91c53c798e20171881a82329a68c9ed65 (diff) | |
download | aur-c139f120c424a2014ae3f059e1c3b1112783d1cf.tar.gz |
upgpkg: vt-cli 0.7.0-2
- Add bash and zsh completions
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 7 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = vt-cli pkgdesc = VirusTotal Command Line Interface pkgver = 0.7.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/VirusTotal/vt-cli arch = i686 arch = x86_64 @@ -1,7 +1,6 @@ # Maintainer: Matthias Lisin <ml@visu.li -pkgname=vt-cli -pkgver=0.7.0 -pkgrel=1 +pkgname=vt-cli pkgver=0.7.0 +pkgrel=2 pkgdesc='VirusTotal Command Line Interface' arch=('i686' 'x86_64') url='https://github.com/VirusTotal/vt-cli' @@ -30,5 +29,8 @@ build() { package() { cd "$pkgname-$pkgver" - install -Dm755 build/vt "$pkgdir/usr/bin/vt" + install -dm755 "$pkgdir"/usr/share/{bash-completion/completions,zsh/site-functions} + install -Dm755 build/vt "$pkgdir"/usr/bin/vt + build/vt completion bash > "$pkgdir"/usr/share/bash-completion/completions/vt + build/vt completion zsh > "$pkgdir"/usr/share/zsh/site-functions/_vt } |