arch-packages/PKGBUILD

27 lines
685 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-04-22 03:51:14 +02:00
pkgver=20210419.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')
depends=('docker')
provides=(
"${pkgname%-bin}"
"$_pkgname"
)
conflicts=(
gvisor-git
"$_pkgname"
)
install="$pkgname.install"
2021-04-02 09:31:52 +02:00
source=("$pkgname-$pkgver::https://storage.googleapis.com/${pkgname%-bin}/releases/release/latest/$arch/$_pkgname")
2021-04-22 03:51:14 +02:00
sha256sums=(de11c5b13c6758443cdc75b7c9973b61045096fd5f0d0d9fa24a8db102798f40)
2020-02-02 20:46:58 +01:00
package() {
install -Dm 755 "$pkgname-$pkgver" "$pkgdir/usr/bin/$_pkgname"
}