arch-packages/PKGBUILD
2021-07-31 06:23:05 -07:00

26 lines
797 B
Bash

# Maintainer: Brad Erhart <tocusso underscore malty at aleeas dot com>
pkgname=gvisor-bin
_pkgname=runsc
pkgver=20210726.0
pkgrel=1
pkgdesc='OCI container sandbox runtime focused on security, efficiency, and ease of use'
arch=('x86_64')
url='https://gvisor.dev'
license=('Apache')
optdepends=('docker: for Docker runtime support')
provides=(
"${pkgname%-bin}"
"$_pkgname"
)
conflicts=(
"${pkgname%-bin}-git"
"$_pkgname"
)
install="$pkgname.install"
source=("$pkgname-$pkgver::https://storage.googleapis.com/${pkgname%-bin}/releases/release/${pkgver%.[0-9]}/$arch/$_pkgname")
b2sums=(d8f207c6f1dd6aa13b29cbff54a68fa538270ba4fa094f26f19a2e322aa88390551307a6c0ff614f95882068db6f36b91f44897b8d8ebd06a4090b3c44fb475b)
package() {
install -Dm 755 "$pkgname-$pkgver" "$pkgdir/usr/bin/$_pkgname"
}