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 22676c9 commit 0d02d46
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions user/terraform/template.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
pkgname = "terraform"
pkgver = "1.10.2"
pkgrel = 0
build_style = "go"
make_build_args = [
f"-ldflags=-X github.com/hashicorp/terraform/version.dev=no",
]
makedepends = ["go"]
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"

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

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

0 comments on commit 0d02d46

Please sign in to comment.