arch-packages/PKGBUILD
2021-08-19 13:00:09 -07:00

26 lines
797 B
Bash

# Maintainer: Brad Erhart <tocusso underscore malty at aleeas dot com>
pkgname=gvisor-bin
_pkgname=runsc
pkgver=20210806.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=(7fb026ffcd0fd1e1b3802a0d28b762a9caebd3f82781737741a745b1cc3c2a20497fa9046980f5489d3ffae4cc72a4ba7175949c45d905fb89749c014cf64ed7)
package() {
install -Dm 755 "$pkgname-$pkgver" "$pkgdir/usr/bin/$_pkgname"
}