Bump to 20220328, change build output directory

This commit is contained in:
Manuel 2022-03-28 21:12:05 +02:00
parent 2a0929d868
commit 411e0e4bef
Signed by: SunRed
GPG key ID: 4085037435E1F07A
2 changed files with 6 additions and 6 deletions

View file

@ -1,6 +1,6 @@
pkgbase = gvisor-git pkgbase = gvisor-git
pkgdesc = OCI container sandbox runtime focused on security, efficiency, and ease of use pkgdesc = OCI container sandbox runtime focused on security, efficiency, and ease of use
pkgver = 20220321.0.r15.gb8fa96e20 pkgver = 20220328.0.r1.g34623f4d7
pkgrel = 1 pkgrel = 1
url = https://gvisor.dev url = https://gvisor.dev
arch = x86_64 arch = x86_64

View file

@ -4,7 +4,7 @@
pkgname='gvisor-git' pkgname='gvisor-git'
_pkgbin='runsc' _pkgbin='runsc'
_pkgshim='containerd-shim-runsc-v1' _pkgshim='containerd-shim-runsc-v1'
pkgver=20220321.0.r15.gb8fa96e20 pkgver=20220328.0.r1.g34623f4d7
pkgrel=1 pkgrel=1
pkgdesc='OCI container sandbox runtime focused on security, efficiency, and ease of use' pkgdesc='OCI container sandbox runtime focused on security, efficiency, and ease of use'
arch=('x86_64' 'aarch64') arch=('x86_64' 'aarch64')
@ -34,12 +34,12 @@ build() {
export CGO_LDFLAGS="${LDFLAGS}" export CGO_LDFLAGS="${LDFLAGS}"
export GO111MODULE=on export GO111MODULE=on
export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw" export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
CGO_ENABLED=0 go build -v -o $_pkgbin -ldflags "-X main.version=${pkgver}" gvisor.dev/gvisor/runsc CGO_ENABLED=0 go build -v -o "bin/$_pkgbin" -ldflags "-X main.version=${pkgver}" gvisor.dev/gvisor/runsc
go build -v -o $_pkgshim gvisor.dev/gvisor/shim go build -v -o "bin/$_pkgshim" gvisor.dev/gvisor/shim
} }
package() { package() {
cd "${pkgname%-git}" cd "${pkgname%-git}"
install -Dm 755 "$_pkgbin/$_pkgbin" "$pkgdir/usr/bin/$_pkgbin" install -Dm 755 "bin/$_pkgbin" "$pkgdir/usr/bin/$_pkgbin"
install -Dm 755 "$_pkgshim" "$pkgdir/usr/bin/$_pkgshim" install -Dm 755 "bin/$_pkgshim" "$pkgdir/usr/bin/$_pkgshim"
} }