blob: 7d745737595e81eff8e4306b738b34ad7ee1d95c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Contributor: Thomas Boerger <thomas@webhippie.de>
# Contributor: Gennady Feldman <gena01@gmail.com>
# Maintainer: Thomas Boerger <thomas@webhippie.de>
pkgname=terraform
pkgver=0.8.5
pkgrel=0
pkgdesc="Building, changing, and combining infrastructure safely and efficiently"
url="https://www.terraform.io/"
arch="all !armhf"
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="5631845e23e4d471115c56cc7c6240f6 terraform-0.8.5.tar.gz"
sha256sums="3d59b81350fcb3a5ca5ac06a19275c2941f67d00989630774faa659908098ebf terraform-0.8.5.tar.gz"
sha512sums="e0396e83b9d21262d8ed7f09e91840cfd086f30e805e4e2b483558553181646a7c67e31345f47b3ea7408e71422aa12231672f5a604fa9a59b291f8895628371 terraform-0.8.5.tar.gz"
|