This repository has been archived by the owner on Oct 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PKGBUILD.template
43 lines (40 loc) · 1.71 KB
/
PKGBUILD.template
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
# Maintainer: Chase 李 <aur@chase.ninja>
pkgname=tenv-bin
pkgver=${PKGVER}
pkgrel=1
pkgdesc="OpenTofu / Terraform / Terragrunt and Atmos version manager"
arch=('x86_64' 'i386' 'armv6' 'arm64')
url="https://github.com/tofuutils/tenv"
license=('Apache-2.0')
groups=()
depends=()
makedepends=()
checkdepends=()
optdepends=('cosign: package validation for OpenTofu')
provides=("atmos" "tenv" "terraform" "terragrunt" "tf" "tofu")
conflicts=('atmos' 'atmos-bin' 'opentofu' 'opentofu-bin' 'opentofu-bin-stable' 'opentofu-git' 'terraform' 'terragrunt' 'tfenv' 'tgenv' 'tofuenv')
replaces=()
backup=()
options=()
install=
changelog=
source_x86_64=("https://github.com/tofuutils/tenv/releases/download/v${pkgver}/tenv_v${pkgver}_Linux_x86_64.tar.gz")
source_i386=("https://github.com/tofuutils/tenv/releases/download/v${pkgver}/tenv_v${pkgver}_Linux_i386.tar.gz")
source_armv6=("https://github.com/tofuutils/tenv/releases/download/v${pkgver}/tenv_v${pkgver}_Linux_armv6.tar.gz")
source_arm64=("https://github.com/tofuutils/tenv/releases/download/v${pkgver}/tenv_v${pkgver}_Linux_arm64.tar.gz")
noextract=()
md5sums=()
package() {
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"
install -Dm 0644 "LICENSE" "${pkgdir}/usr/share/doc/tenv/LICENSE"
install -Dm 0644 "README.md" "${pkgdir}/usr/share/doc/tenv/README.md"
}
sha256sums_x86_64=('${CHECKSUM_X86_64}')
sha256sums_i386=('${CHECKSUM_I386}')
sha256sums_armv6=('${CHECKSUM_ARMV6}')
sha256sums_arm64=('${CHECKSUM_ARM64}')