# Maintainer: Manuel Hüsers # Contributor: Brad Erhart pkgname='gvisor-bin' _pkgbin='runsc' _pkgshim='containerd-shim-runsc-v1' pkgver=20220621.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=( "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=( '632e0dbf3027de98b249ccc5876730d57aebd4db4fc46f57a0c587094cb6e157f81a9f0e16b5ebcb3c3f4a72686f37a4aa1532422e110141ff00d8c7f820319b' '073a1993c2c9f1edb67ed3d3ea7bd659819fac10356098dfd20311cdb0ebf15b5b337a594219571476c319515483b6e7cedc99dd42d8b1a8fc5cda33352f7105' ) sha512sums_aarch64=( '296ae7afa3ea613d946af52c65ac952805e1afd9c7dc38f38c919944afb78a9009d6575eab9d1a1f30b3e6e4bf9077a9f97b592bd1458cef56ab72a47f2429c1' '20b91a5e5f5f4c47d04628bc5d462eaf8179cbd1b5968017cd3101db91093e14e92df5ecf96ae17e64a34c79a7999ff28b14f4fa107f89fb612fbb8aa237bb2a' ) package() { install -Dm 755 "$_pkgbin" "$pkgdir/usr/bin/$_pkgbin" install -Dm 755 "$_pkgshim" "$pkgdir/usr/bin/$_pkgshim" }