arch-packages/PKGBUILD

41 lines
1.6 KiB
Bash
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'
2022-06-14 00:44:03 +02:00
pkgver=20220606.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=(
"https://storage.googleapis.com/${pkgname%-bin}/releases/release/${pkgver%.[0-9]}/x86_64/$_pkgbin"
"https://storage.googleapis.com/${pkgname%-bin}/releases/release/${pkgver%.[0-9]}/x86_64/$_pkgshim"
)
source_aarch64=(
"https://storage.googleapis.com/${pkgname%-bin}/releases/release/${pkgver%.[0-9]}/aarch64/$_pkgbin"
"https://storage.googleapis.com/${pkgname%-bin}/releases/release/${pkgver%.[0-9]}/aarch64/$_pkgshim"
)
sha512sums_x86_64=(
2022-06-14 00:44:03 +02:00
'26c614e815a6c42666931fd67d3bbed3520ac1643917fe04989a1e775a708f82f6d5118dafb1cc2435b243bde9b980b8a8ddada22a067cae55d1e6447c1a54d0'
'3f0297cf2f0d31b83590463616e202a2115c3ad5aa56c767511fa8f13ba594927738704405ffed2d1e836e70b75f5aad7e667fc54575dcace00c8ea52bde279b'
2022-03-28 06:46:50 +02:00
)
sha512sums_aarch64=(
2022-06-14 00:44:03 +02:00
'66e44c009f91ce7910593283270df57c6e9c7614fd23296125351a83ae288838e3fc86da741e3b0ec5343f3611e68e6ddbe1898be504febf59aa4780373f78a2'
'ccc9c7c469f12784b55a99ff1278104484605f76a5e3559a05344b480d91f556baf4d2a2ad370b0ef2b8ac85b20a582a8c9e0e1b99e6225c3f23e12af68cc277'
2022-03-28 06:46:50 +02:00
)
2020-02-02 20:46:58 +01:00
package() {
2022-03-28 06:46:50 +02:00
install -Dm 755 "$_pkgbin" "$pkgdir/usr/bin/$_pkgbin"
install -Dm 755 "$_pkgshim" "$pkgdir/usr/bin/$_pkgshim"
2020-02-02 20:46:58 +01:00
}