arch-packages/PKGBUILD
2021-04-02 00:31:52 -07:00

27 lines
685 B
Bash

# Maintainer: Brad Erhart <tocusso underscore malty at aleeas dot com>
pkgname=gvisor-bin
_pkgname=runsc
pkgver=20210322.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')
depends=('docker')
provides=(
"${pkgname%-bin}"
"$_pkgname"
)
conflicts=(
gvisor-git
"$_pkgname"
)
install="$pkgname.install"
source=("$pkgname-$pkgver::https://storage.googleapis.com/${pkgname%-bin}/releases/release/latest/$arch/$_pkgname")
sha256sums=(697f019baf0cee0ce431eb1bcde87a1bfed5cac59d0590e4e63ce997c99e7fbb)
package() {
install -Dm 755 "$pkgname-$pkgver" "$pkgdir/usr/bin/$_pkgname"
}