arch-packages/PKGBUILD

27 lines
797 B
Bash
Raw Normal View History

2021-04-02 09:31:52 +02:00
# Maintainer: Brad Erhart <tocusso underscore malty at aleeas dot com>
2020-02-02 20:46:58 +01:00
pkgname=gvisor-bin
_pkgname=runsc
2021-09-02 11:00:56 +02:00
pkgver=20210823.0
2020-02-02 20:46:58 +01: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 19:04:05 +02:00
optdepends=('docker: for Docker runtime support')
2020-02-02 20:46:58 +01:00
provides=(
"${pkgname%-bin}"
"$_pkgname"
)
conflicts=(
2021-05-28 08:56:44 +02:00
"${pkgname%-bin}-git"
2020-02-02 20:46:58 +01:00
"$_pkgname"
)
install="$pkgname.install"
2021-06-30 19:04:05 +02:00
source=("$pkgname-$pkgver::https://storage.googleapis.com/${pkgname%-bin}/releases/release/${pkgver%.[0-9]}/$arch/$_pkgname")
2021-09-02 11:00:56 +02:00
b2sums=(495300c5b55186e1403ccad549bb6be289f68241a8faca81b61141cab6aaf3fcc3b6c1ad5408279ee07ab8ae7e1156f799cbf8f70811ffd26273896557c50dcd)
2020-02-02 20:46:58 +01:00
package() {
install -Dm 755 "$pkgname-$pkgver" "$pkgdir/usr/bin/$_pkgname"
}