# Maintainer: Manuel Hüsers <aur@huesers.de> # Contributor: Brad Erhart <tocusso underscore malty at aleeas dot com> pkgname='gvisor-bin' _pkgbin='runsc' _pkgshim='containerd-shim-runsc-v1' pkgver=20240109.0 pkgrel=1 pkgdesc='OCI container sandbox runtime focused on security, efficiency, and ease of use' arch=('x86_64' 'aarch64') url='https://gvisor.dev' license=('Apache') optdepends=('docker: for Docker runtime support') provides=( "${pkgname%-bin}" ) conflicts=( "${pkgname%-bin}" ) source_x86_64=( "$_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" ) source_aarch64=( "$_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" ) sha512sums_x86_64=('49f27ed23fba6bc83602aca41e20e826aa09016bc71a70cd5c3b66ff4a8bc96182c95a7aee36e862b5699bd5a3329703ac03c1fef83ecb18ad7a8368e70ed516' '2976f90726ba3b9b4289aad3d34d5ad0346bed3d589f6d6d77ee5a4ae246f25c86609a8c53cdec6fb489fbdde5f60db8f6ceca0c5e3eb420ac25b73232cf71a5') sha512sums_aarch64=('252a755eab563dd21b13962a7aa2f8ad8d8bc4236a5b99f12323c63cc037e5cc94d8d61cff1d910aa414c85ae3b0e22c2d32894edc3d48c68e94cb72544d1e4d' '1133d8d027c19f3ace39b0731562fc94a378ab9845a5d7d8a5776d5703575d6ce324acb32c466a314231bb445605adbac696cec958ab73477eaea1b693195b26') package() { install -Dm 755 "$_pkgbin-$CARCH-$pkgver" "$pkgdir/usr/bin/$_pkgbin" install -Dm 755 "$_pkgshim-$CARCH-$pkgver" "$pkgdir/usr/bin/$_pkgshim" }