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=20230417.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
)
sha512sums_x86_64=('2659be1cabe84ab2d6e8e72f1c94ad268b2214dd03a18ec67b57c39297d1a722c9f4b6ae5f098ef6941b967856fdd37ffcecda1a06405e4bad5307081091fa8a'
'40019143a01980cca9d4ebbbef85892aed344567d9b1b302c32cc8f31d380b9abe07b7ca0a3fb4f60ce9950f6d2346db635b3b45f2d2034a48831da0fd0a107d')
sha512sums_aarch64=('371ffc60854e0177980268e6140a6ce621ee665e8400e369a1bd558f1fc4963c30a58a9c467ec3ba6b424f57aa76bba5ed598762813a394a032ac84d950ce359'
'1829a9bfd6c90e6343c506625eeed9f54c2144472d3f64f4ecd9ab3c24d5087505d3ca36aa20d75c1c4c9ddf247641e5646bc08df518b1b5dd221068c29e5463')
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
}