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-03-07 06:53:08 +01:00
|
|
|
pkgver=20240305.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-03-07 06:53:08 +01:00
|
|
|
sha512sums_x86_64=('6fe6f09ea45c9d73592c823834632debbb4cb1fae64b23e7feb0dba37e925cb6b39d4c98a804b20d10c9f5c4bb9c2dd2055a1460999f450bee32aa49894b8a95'
|
|
|
|
'ae2e6efc9a510135c6478153efc58e865d4376e9147bde7ddcf5fa7a9ad221f479af1c3ea17f34c96f380d6f669e6de7277b9ed48efdcd0ea5c46e4d7a338761')
|
|
|
|
sha512sums_aarch64=('fc14d1996b84fa757518407183e1fe50bb1ac60c678521c10e1ebb2489211addc24722317746a24fa5f2838e49adfb118b9d966c4ff5713e08931f293a736ccb'
|
|
|
|
'587682b89914401b65d40e1a5dd1969c7a526c1b34feff6ef042c96659eec2a74a4d32c12fedf176a6751c4941cc1b9bd8584230bc719e7e5babfdb8957ddcd2')
|
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
|
|
|
}
|