summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Hodne <henrik@travis-ci.com>2016-04-01 12:30:03 +0200
committerHenrik Hodne <henrik@travis-ci.com>2016-04-01 12:30:03 +0200
commita726634a6afd7bfed64d1b41a70058e74c1176c7 (patch)
treedfa6c077b7b66856b15aefa844dcdde3d4177e03
parentade6b0cb24302a6eac68772664bd943ff5c4d060 (diff)
Add ZSH completion
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD6
2 files changed, 10 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 88fde8a..f18d5b7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,17 @@
# Generated by mksrcinfo v8
-# Fri Apr 1 09:59:36 UTC 2016
+# Fri Apr 1 10:29:09 UTC 2016
pkgbase = terraform-bin
pkgdesc = Tool for building, changing, and versioning infrastructure safely and efficiently
pkgver = 0.6.14
- pkgrel = 1
+ pkgrel = 2
url = http://www.terraform.io/
arch = i686
arch = x86_64
license = MPL
conflicts = terraform
+ noextract = _terraform
+ source = https://raw.githubusercontent.com/hashicorp/terraform/v0.6.14/contrib/zsh-completion/_terraform
+ sha256sums = 4efcb7d7a231ea5e1f9bc9c06c3abfb6825e907883f88a8790e590548353da93
source_i686 = https://releases.hashicorp.com/terraform/0.6.14/terraform_0.6.14_linux_386.zip
sha256sums_i686 = 3f43b75a5376b21576ff341af97f57857b5c8cc306331a4917f7d76895a97b13
source_x86_64 = https://releases.hashicorp.com/terraform/0.6.14/terraform_0.6.14_linux_amd64.zip
diff --git a/PKGBUILD b/PKGBUILD
index 6a8c883..79cb242 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,19 +3,23 @@
pkgname=terraform-bin
pkgver=0.6.14
-pkgrel=1
+pkgrel=2
pkgdesc="Tool for building, changing, and versioning infrastructure safely and efficiently"
url='http://www.terraform.io/'
arch=('i686' 'x86_64')
license=('MPL')
conflicts=('terraform')
+source=("https://raw.githubusercontent.com/hashicorp/terraform/v${pkgver}/contrib/zsh-completion/_terraform")
source_i686=("https://releases.hashicorp.com/terraform/${pkgver}/terraform_${pkgver}_linux_386.zip")
source_x86_64=("https://releases.hashicorp.com/terraform/${pkgver}/terraform_${pkgver}_linux_amd64.zip")
+sha256sums=('4efcb7d7a231ea5e1f9bc9c06c3abfb6825e907883f88a8790e590548353da93')
sha256sums_i686=('3f43b75a5376b21576ff341af97f57857b5c8cc306331a4917f7d76895a97b13')
sha256sums_x86_64=('6d93290f980df15a453e907ea9a2ca8f8fed41143c220953c911b5174c3e3ab0')
+noextract=('_terraform')
package() {
install -d ${pkgdir}/usr/bin
install -Dm755 ${srcdir}/terraform ${srcdir}/terraform-* ${pkgdir}/usr/bin
+ install -Dm644 ${srcdir}/_terraform ${pkgdir}/usr/share/site-functions/_terraform
}