blob: 6f3f00c73c1369764d64804ab87c23ab3c3af1b0 (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# This file was generated by GoReleaser. DO NOT EDIT.
# Maintainer: Alexander Sharov <kvendingoldo@gmail.com>
# Maintainer: chaseme <aur@chase.ninja>
# Contributor: Alexander Sharov <kvendingoldo@gmail.com>
# Contributor: chaseme <aur@chase.ninja>
pkgname='tenv-bin'
pkgver=3.2.11
pkgrel=1
pkgdesc='OpenTofu, Terraform, Terragrunt, and Atmos version manager, written in Go.'
url='https://tofuutils.github.io/tenv/'
arch=('aarch64' 'i686' 'x86_64')
license=('Apache-2.0')
provides=('atmos' 'tenv' 'terraform' 'terragrunt' 'tf' 'tofu')
conflicts=('atmos' 'atmos-bin' 'opentofu' 'opentofu-bin' 'opentofu-bin-stable' 'opentofu-git' 'terraform' 'terragrunt' 'tfenv' 'tgenv' 'tofuenv')
optdepends=('cosign: package validation for OpenTofu')
source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://github.com/tofuutils/tenv/releases/download/v3.2.11/tenv_v3.2.11_Linux_arm64.tar.gz")
sha256sums_aarch64=('34db4a84c3bd981f5883875c083c92b67b844b7a720c4bb8f754443c6a68966e')
source_i686=("${pkgname}_${pkgver}_i686.tar.gz::https://github.com/tofuutils/tenv/releases/download/v3.2.11/tenv_v3.2.11_Linux_i386.tar.gz")
sha256sums_i686=('45a190d9eda636d5a9a1d090fd03fe9e7da33ff736fa5d9f5ca9271086deafd6')
source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/tofuutils/tenv/releases/download/v3.2.11/tenv_v3.2.11_Linux_x86_64.tar.gz")
sha256sums_x86_64=('db344b8000d0def462c3f823e05328b178edc1fc2fc791b9b283c5deb4a709a2')
package() {
# bin
install -Dm 0755 "atmos" "${pkgdir}/usr/bin/atmos"
install -Dm 0755 "tenv" "${pkgdir}/usr/bin/tenv"
install -Dm 0755 "terraform" "${pkgdir}/usr/bin/terraform"
install -Dm 0755 "terragrunt" "${pkgdir}/usr/bin/terragrunt"
install -Dm 0755 "tf" "${pkgdir}/usr/bin/tf"
install -Dm 0755 "tofu" "${pkgdir}/usr/bin/tofu"
# license
install -Dm 0644 "LICENSE" "${pkgdir}/usr/share/licenses/tenv/LICENSE"
install -Dm 0644 "LICENSE" "${pkgdir}/usr/share/doc/tenv/LICENSE"
# readme
install -Dm 0644 "README.md" "${pkgdir}/usr/share/doc/tenv/README.md"
# completions
mkdir -p "${pkgdir}/usr/share/bash-completion/completions/"
mkdir -p "${pkgdir}/usr/share/zsh/site-functions/"
mkdir -p "${pkgdir}/usr/share/fish/vendor_completions.d/"
for i in bash fish zsh; do
./tenv completion $i > ./tenv.$i
done
install -Dm644 "./tenv.bash" "${pkgdir}/usr/share/bash-completion/completions/tenv"
install -Dm644 "./tenv.zsh" "${pkgdir}/usr/share/zsh/site-functions/tenv"
install -Dm644 "./tenv.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/tenv.fish"
}
|