summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD10
2 files changed, 7 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0fc5d1c22a3..44932d31ee7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 9d4233fa4dc..eea0fea4fa2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}