2022-03-27 07:20:07 +02:00
|
|
|
# Maintainer: Manuel Hüsers <aur@huesers.de>
|
|
|
|
# Contributor: Brad Erhart <tocusso underscore malty at aleeas dot com>
|
2020-02-02 20:46:58 +01:00
|
|
|
|
2022-01-05 11:50:37 +01:00
|
|
|
pkgname='gvisor-bin'
|
2022-03-28 06:46:50 +02:00
|
|
|
_pkgbin='runsc'
|
|
|
|
_pkgshim='containerd-shim-runsc-v1'
|
2024-04-05 21:24:47 +02:00
|
|
|
pkgver=20240401.0
|
2022-04-30 19:42:14 +02:00
|
|
|
pkgrel=1
|
2020-02-02 20:46:58 +01:00
|
|
|
pkgdesc='OCI container sandbox runtime focused on security, efficiency, and ease of use'
|
2022-03-27 07:58:18 +02:00
|
|
|
arch=('x86_64' 'aarch64')
|
2020-02-02 20:46:58 +01:00
|
|
|
url='https://gvisor.dev'
|
|
|
|
license=('Apache')
|
2021-06-30 19:04:05 +02:00
|
|
|
optdepends=('docker: for Docker runtime support')
|
2020-02-02 20:46:58 +01:00
|
|
|
provides=(
|
|
|
|
"${pkgname%-bin}"
|
|
|
|
)
|
|
|
|
conflicts=(
|
2022-03-27 07:58:18 +02:00
|
|
|
"${pkgname%-bin}"
|
2020-02-02 20:46:58 +01:00
|
|
|
)
|
2022-03-28 06:46:50 +02:00
|
|
|
source_x86_64=(
|
2022-11-23 17:58:12 +01:00
|
|
|
"$_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"
|
2022-03-28 06:46:50 +02:00
|
|
|
)
|
|
|
|
source_aarch64=(
|
2022-11-23 17:58:12 +01:00
|
|
|
"$_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"
|
2022-03-28 06:46:50 +02:00
|
|
|
)
|
2024-04-05 21:24:47 +02:00
|
|
|
sha512sums_x86_64=('c48737d39cf9f85cdfca9717237322eeba52a05e5aef8e6a843bbdbdabda998616f878eef2c4a4f26cb9348cabd02fc78389d12bdff614758cc385b6eded0448'
|
|
|
|
'6c653476af1d2cb5817323af05c224d1ba5d807006224bdc6f391e90087d896977106023a5a578ce8edc144d945b8abe3a05bb79ae25507d1fdd85c6b90d145e')
|
|
|
|
sha512sums_aarch64=('933735a562d02d2c332ec80222c11292317578e44d1135ec19e5757b2c64456f70adabfb688383e8ae3079da6b309ffe84be1cf1dd90268b776f879331e33f14'
|
|
|
|
'd313fe8cb1a14e6b92507e8e128270f8fadedb66efff47586765983236a50ce07a02d6dc40726fc8b7ccc037b46f2593f3a6824ade227a0e269bc71fa7eb0868')
|
2020-02-02 20:46:58 +01:00
|
|
|
|
|
|
|
package() {
|
2022-11-23 17:58:12 +01:00
|
|
|
install -Dm 755 "$_pkgbin-$CARCH-$pkgver" "$pkgdir/usr/bin/$_pkgbin"
|
|
|
|
install -Dm 755 "$_pkgshim-$CARCH-$pkgver" "$pkgdir/usr/bin/$_pkgshim"
|
2020-02-02 20:46:58 +01:00
|
|
|
}
|