blob: 98edf2e4d1f6888054e1212388fe78a5b397b091 (
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
|
# Maintainer: Hoang Nguyen <folliekazetani@protonmail.com>
pkgname=pulumi-language-dotnet
pkgver=3.55.1
pkgrel=1
pkgdesc="Infrastructure as Code SDK (.NET language provider)"
url="https://pulumi.com/"
# blocked by pulumi
arch="x86_64 aarch64"
license="Apache-2.0"
depends="pulumi"
makedepends="go"
source="$pkgname-$pkgver.tar.gz::https://github.com/pulumi/pulumi-dotnet/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/pulumi-dotnet-$pkgver/pulumi-language-dotnet"
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
build() {
mkdir -p bin
go build -v \
-o bin/pulumi-language-dotnet \
-ldflags "-X github.com/pulumi/pulumi-dotnet/pulumi-language-dotnet/version.Version=v$pkgver"
}
check() {
go test ./...
}
package() {
install -Dm755 bin/pulumi-language-dotnet -t "$pkgdir"/usr/bin/
}
sha512sums="
33dc10bd4dee505cb83b35a9a11ce072ebe47f56f71a70cfcdccba1d5dd4c4e9496a03588237e0ac194e0118c889602752e0207a6cbbaee0812338cdf5c2decd pulumi-language-dotnet-3.55.1.tar.gz
"
|