arch-packages/gvisor-bin/PKGBUILD

37 lines
1.7 KiB
Text
Raw Normal View History

2022-03-27 07:20:07 +02:00
# Maintainer: Manuel Hüsers <aur@huesers.de>
# Contributor: Brad Erhart <tocusso underscore malty at aleeas dot com>
2020-02-02 20:46:58 +01:00
pkgname='gvisor-bin'
2022-03-28 06:46:50 +02:00
_pkgbin='runsc'
_pkgshim='containerd-shim-runsc-v1'
pkgver=20230501.0
2022-04-30 19:42:14 +02:00
pkgrel=1
2020-02-02 20:46:58 +01:00
pkgdesc='OCI container sandbox runtime focused on security, efficiency, and ease of use'
2022-03-27 07:58:18 +02:00
arch=('x86_64' 'aarch64')
2020-02-02 20:46:58 +01:00
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}"
)
conflicts=(
2022-03-27 07:58:18 +02:00
"${pkgname%-bin}"
2020-02-02 20:46:58 +01:00
)
2022-03-28 06:46:50 +02:00
source_x86_64=(
2022-11-23 17:58:12 +01:00
"$_pkgbin-x86_64-$pkgver::https://storage.googleapis.com/${pkgname%-bin}/releases/release/$pkgver/x86_64/$_pkgbin"
"$_pkgshim-x86_64-$pkgver::https://storage.googleapis.com/${pkgname%-bin}/releases/release/$pkgver/x86_64/$_pkgshim"
2022-03-28 06:46:50 +02:00
)
source_aarch64=(
2022-11-23 17:58:12 +01:00
"$_pkgbin-aarch64-$pkgver::https://storage.googleapis.com/${pkgname%-bin}/releases/release/$pkgver/aarch64/$_pkgbin"
"$_pkgshim-aarch64-$pkgver::https://storage.googleapis.com/${pkgname%-bin}/releases/release/$pkgver/aarch64/$_pkgshim"
2022-03-28 06:46:50 +02:00
)
sha512sums_x86_64=('a4f745195a5040d33a1b2583bb455fbb417e4ad08a117b88db630e2158ffb067cf6de83d2481d0126b39f73ba77a440373500075860ce33c44dc1bb396f873e0'
'036b102b62fd8e932b2e7da9919597d4b541ec62cd691d57241658ed156aa62743c1ab648903d317d74a22dbb5d2a922f8d067e86af2cb436ce5eb55c7cf4f93')
sha512sums_aarch64=('18bac7c31934d705b226ca2a897f32247dbaacd51652c3b7d6a07bbcb4b18be61ff6253abe873325ed974ae7c254c689eeedaf26fff400f21391778f06b36290'
'c051ce23a0dffbd520ae3f85da918cb120fd36cb33e6043a99f7f6ac942eea471b8d3b68a6688a9c7e23a0c6692565dcce2746aa0eca5cd5b486a14a6caa4824')
2020-02-02 20:46:58 +01:00
package() {
2022-11-23 17:58:12 +01:00
install -Dm 755 "$_pkgbin-$CARCH-$pkgver" "$pkgdir/usr/bin/$_pkgbin"
install -Dm 755 "$_pkgshim-$CARCH-$pkgver" "$pkgdir/usr/bin/$_pkgshim"
2020-02-02 20:46:58 +01:00
}