arch-packages/PKGBUILD
2021-09-09 03:55:15 -07:00

26 lines
797 B
Bash

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