Skip to content

Commit

Permalink
user/terraform: new package
Browse files Browse the repository at this point in the history
  • Loading branch information
Fantome137 committed Dec 19, 2024
1 parent a7abd16 commit d89329a
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions user/terraform/template.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
pkgname = "terraform"
pkgver = "1.10.2"
pkgrel = 0
pkgrel = 1
build_style = "go"
make_build_args = [
f"-ldflags=-X github.com/hashicorp/terraform/version.dev=no",
]
makedepends = ["go"]
pkgdesc = "Tool for building and updating infrastructure as code idempotently"
pkgdesc = "Tool for building infrastructure as code"
maintainer = "LeFantome <[email protected]>"
license = "BUSL-1.1"
url = "https://github.com/hashicorp/terraform"
source = f"{url}/archive/v{pkgver}.tar.gz"
sha256 = "3be0296246a96acb5d45cb354ca32417bffd55d8086a4e3fcd71073e4295bb17"
# Tests cause a segfault - compiled program works
options = ["!check"]

def post_install(self):
self.install_license("LICENSE")
def post_extract(self):
self.rm("internal/cloud/*_test.go", glob=True)

def post_install(self):
self.install_license("LICENSE")

0 comments on commit d89329a

Please sign in to comment.