36 lines
1.7 KiB
Bash
36 lines
1.7 KiB
Bash
# Maintainer: Manuel Hüsers <aur@huesers.de>
|
|
# Contributor: Brad Erhart <tocusso underscore malty at aleeas dot com>
|
|
|
|
pkgname='gvisor-bin'
|
|
_pkgbin='runsc'
|
|
_pkgshim='containerd-shim-runsc-v1'
|
|
pkgver=20251103.0
|
|
pkgrel=1
|
|
pkgdesc='OCI container sandbox runtime focused on security, efficiency, and ease of use'
|
|
arch=('x86_64' 'aarch64')
|
|
url='https://gvisor.dev'
|
|
license=('Apache-2.0')
|
|
optdepends=('docker: for Docker runtime support')
|
|
provides=(
|
|
"${pkgname%-bin}"
|
|
)
|
|
conflicts=(
|
|
"${pkgname%-bin}"
|
|
)
|
|
source_x86_64=(
|
|
"$_pkgbin-x86_64-$pkgver::https://storage.googleapis.com/${pkgname%-bin}/releases/release/$pkgver/x86_64/$_pkgbin"
|
|
"$_pkgshim-x86_64-$pkgver::https://storage.googleapis.com/${pkgname%-bin}/releases/release/$pkgver/x86_64/$_pkgshim"
|
|
)
|
|
source_aarch64=(
|
|
"$_pkgbin-aarch64-$pkgver::https://storage.googleapis.com/${pkgname%-bin}/releases/release/$pkgver/aarch64/$_pkgbin"
|
|
"$_pkgshim-aarch64-$pkgver::https://storage.googleapis.com/${pkgname%-bin}/releases/release/$pkgver/aarch64/$_pkgshim"
|
|
)
|
|
sha512sums_x86_64=('01a465bb5bb37d3c6343a33420b6badfe6e5d8a5ff522f1fb2c183a6e24559cc660373137adc8f5a8c8c362c573a2d01ef6936e126c74c810b16bf9bd19bfd04'
|
|
'56a27dab74191db97f888c936b53861248851a2579d838073f528db7cb9353da5a919a27a38a48447b0a81bd42ab92873c480be769a9818a464ba9cf27872581')
|
|
sha512sums_aarch64=('a124f892b6f937ff88f9833cba78bc22d2cf869a205e20694374cbad575c9c9dd501cd4b8897aa4338622b6171d7cf4ce8d5a9b3b259c60450a6ade5b3fbc4f5'
|
|
'8f2b16ad59e9ffdafd1218851cba9d007d4ffb15c5ec2003e0c691eb048935a82f9e8b578c051b05738e3b4e1f141ed893c73415313ec639f348fe989659b893')
|
|
|
|
package() {
|
|
install -Dm 755 "$_pkgbin-$CARCH-$pkgver" "$pkgdir/usr/bin/$_pkgbin"
|
|
install -Dm 755 "$_pkgshim-$CARCH-$pkgver" "$pkgdir/usr/bin/$_pkgshim"
|
|
}
|