aboutsummaryrefslogtreecommitdiffstats
path: root/community/terraform
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-12-20 17:15:39 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2016-12-20 17:15:39 +0100
commit4f03d1dea23c7f37b388f2de3a76538ce83b1c5d (patch)
tree6e8689782a5f1cafef77d9f2b8fb76d5da6a7cc4 /community/terraform
parent9fe6e7fd5a85f74ca82168fb417412f3d7ca8a96 (diff)
downloadaports-4f03d1dea23c7f37b388f2de3a76538ce83b1c5d.tar.bz2
aports-4f03d1dea23c7f37b388f2de3a76538ce83b1c5d.tar.xz
community/terraform: moved from testing
Diffstat (limited to 'community/terraform')
-rw-r--r--community/terraform/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/community/terraform/APKBUILD b/community/terraform/APKBUILD
new file mode 100644
index 0000000000..f959ec8739
--- /dev/null
+++ b/community/terraform/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Thomas Boerger <thomas@webhippie.de>
+# Contributor: Gennady Feldman <gena01@gmail.com>
+# Maintainer: Thomas Boerger <thomas@webhippie.de>
+pkgname=terraform
+pkgver=0.8.1
+pkgrel=0
+pkgdesc="Building, changing, and combining infrastructure safely and efficiently"
+url="https://www.terraform.io/"
+arch="all"
+license="MPL 2.0"
+depends=""
+makedepends="go"
+install=""
+source="${pkgname}-${pkgver}.tar.gz::https://github.com/hashicorp/terraform/archive/v$pkgver.tar.gz"
+builddir="$srcdir/src/github.com/hashicorp/$pkgname"
+
+prepare() {
+ mkdir -p ${builddir%/*}
+ mv $srcdir/$pkgname-$pkgver "$builddir"/ || return 1
+ default_prepare
+}
+
+build() {
+ cd "$builddir"
+ export GOPATH="$srcdir"
+ go build -v -o bin/$pkgname || return 1
+}
+
+package() {
+ install -Dm755 "$builddir"/bin/$pkgname "$pkgdir"/usr/bin/$pkgname || return 1
+}
+
+md5sums="b9daa0203e761775d94cb56edc586dc6 terraform-0.8.1.tar.gz"
+sha256sums="927b4909a64b8550376e87c737eab0f34a0895f2700fa8bc81de339f4a7ffe20 terraform-0.8.1.tar.gz"
+sha512sums="3134c42b58262869e6c314210d3b19e5bade85fc80146ece6e5de8e980f186774f18bf8f8b04e118ec5667d2d699bb9149852d70ecbe28f7ada1061cfe251532 terraform-0.8.1.tar.gz"