arch-packages/PKGBUILD
2022-03-27 07:20:07 +02:00

26 lines
828 B
Bash

# Maintainer: Manuel Hüsers <aur@huesers.de>
# Contributor: Brad Erhart <tocusso underscore malty at aleeas dot com>
pkgname='gvisor-bin'
_pkgname='runsc'
pkgver=20220228.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"
)
source=("$pkgname-$pkgver::https://storage.googleapis.com/${pkgname%-bin}/releases/release/${pkgver%.[0-9]}/$CARCH/$_pkgname")
sha512sums=('00b65f872785f77d61c789c4589e56d085697ef6d6c89370dceca0d464df7d267a65b2fcd63bd7513910b28e72cc9f22991139c262b42c84a25f0f55136ba736')
package() {
install -Dm 755 "$pkgname-$pkgver" "$pkgdir/usr/bin/$_pkgname"
}