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'
|
2022-06-23 19:06:17 +02:00
|
|
|
pkgver=20220621.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=(
|
|
|
|
"https://storage.googleapis.com/${pkgname%-bin}/releases/release/${pkgver%.[0-9]}/x86_64/$_pkgbin"
|
|
|
|
"https://storage.googleapis.com/${pkgname%-bin}/releases/release/${pkgver%.[0-9]}/x86_64/$_pkgshim"
|
|
|
|
)
|
|
|
|
source_aarch64=(
|
|
|
|
"https://storage.googleapis.com/${pkgname%-bin}/releases/release/${pkgver%.[0-9]}/aarch64/$_pkgbin"
|
|
|
|
"https://storage.googleapis.com/${pkgname%-bin}/releases/release/${pkgver%.[0-9]}/aarch64/$_pkgshim"
|
|
|
|
)
|
|
|
|
sha512sums_x86_64=(
|
2022-06-23 19:06:17 +02:00
|
|
|
'632e0dbf3027de98b249ccc5876730d57aebd4db4fc46f57a0c587094cb6e157f81a9f0e16b5ebcb3c3f4a72686f37a4aa1532422e110141ff00d8c7f820319b'
|
|
|
|
'073a1993c2c9f1edb67ed3d3ea7bd659819fac10356098dfd20311cdb0ebf15b5b337a594219571476c319515483b6e7cedc99dd42d8b1a8fc5cda33352f7105'
|
2022-03-28 06:46:50 +02:00
|
|
|
)
|
|
|
|
sha512sums_aarch64=(
|
2022-06-23 19:06:17 +02:00
|
|
|
'296ae7afa3ea613d946af52c65ac952805e1afd9c7dc38f38c919944afb78a9009d6575eab9d1a1f30b3e6e4bf9077a9f97b592bd1458cef56ab72a47f2429c1'
|
|
|
|
'20b91a5e5f5f4c47d04628bc5d462eaf8179cbd1b5968017cd3101db91093e14e92df5ecf96ae17e64a34c79a7999ff28b14f4fa107f89fb612fbb8aa237bb2a'
|
2022-03-28 06:46:50 +02:00
|
|
|
)
|
2020-02-02 20:46:58 +01:00
|
|
|
|
|
|
|
package() {
|
2022-03-28 06:46:50 +02:00
|
|
|
install -Dm 755 "$_pkgbin" "$pkgdir/usr/bin/$_pkgbin"
|
|
|
|
install -Dm 755 "$_pkgshim" "$pkgdir/usr/bin/$_pkgshim"
|
2020-02-02 20:46:58 +01:00
|
|
|
}
|