arch-packages/gvisor-bin/PKGBUILD

37 lines
1.7 KiB
Text
Raw Normal View History

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
pkgname='gvisor-bin'
2022-03-28 06:46:50 +02:00
_pkgbin='runsc'
_pkgshim='containerd-shim-runsc-v1'
pkgver=20221102.1
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
)
sha512sums_x86_64=('f47a15449cd2a4b25dc768e4d9275d67c22acda6ebbc46270c38f5f135143f7551475168862b846a408f3858ee7edf725861a6bb3ce9ef2c783d1cab6d177511'
'3b8bb9453dfc8cad3b2a1c484d9acb6766c7900d6869e1696214216a0fab994e55409e4065267544a360283b2c824790f605d89749674ddb68dd58086f44f956')
sha512sums_aarch64=('87a39bb2e2e87390f6c6c38dbc4bdcced62d07af9128ddead7b0b46bc7bac2f9aa678b8bc5d234dedd9ad5430fe38d0e3df77d65b10589e99f21bdf0516d80b5'
'0ec5bd37b91a921bdeb26e92251f37d6c6adba4e2176973017b592e229c7512aa1765be4c4a87be44dfbb6bb30827b05f7e1551eff98ea006499317dec4a9e60')
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
}