arch-packages/PKGBUILD

27 lines
797 B
Text
Raw Normal View History

2021-04-02 00:31:52 -07:00
# Maintainer: Brad Erhart <tocusso underscore malty at aleeas dot com>
2020-02-02 11:46:58 -08:00
pkgname=gvisor-bin
_pkgname=runsc
2021-09-17 17:35:15 -07:00
pkgver=20210906.0
2020-02-02 11:46:58 -08:00
pkgrel=1
pkgdesc='OCI container sandbox runtime focused on security, efficiency, and ease of use'
arch=('x86_64')
url='https://gvisor.dev'
license=('Apache')
2021-06-30 10:04:05 -07:00
optdepends=('docker: for Docker runtime support')
2020-02-02 11:46:58 -08:00
provides=(
"${pkgname%-bin}"
"$_pkgname"
)
conflicts=(
2021-05-27 23:56:44 -07:00
"${pkgname%-bin}-git"
2020-02-02 11:46:58 -08:00
"$_pkgname"
)
install="$pkgname.install"
2021-06-30 10:04:05 -07:00
source=("$pkgname-$pkgver::https://storage.googleapis.com/${pkgname%-bin}/releases/release/${pkgver%.[0-9]}/$arch/$_pkgname")
2021-09-17 17:35:15 -07:00
b2sums=(f1565c0a8cdd8817d491793b4ecd21141d7a79351856e3645e1dc94e7fb8366fab6e14a9422eb365404d538b67473bdc24150ec1ea80b03b7d00e873841c32af)
2020-02-02 11:46:58 -08:00
package() {
install -Dm 755 "$pkgname-$pkgver" "$pkgdir/usr/bin/$_pkgname"
}