arch-packages/PKGBUILD

41 lines
1.6 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'
2022-07-15 23:57:25 +02:00
pkgver=20220713.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-07-15 23:57:25 +02:00
'e2f9a7470eb3761b88fb32a00690652053a3d1b41e82a56e2046d39d7302a1845774deacb3898220e921a729f19ef86881812c0e9148daef981b19a3a5d7cade'
'0eb173dbb220eaecb489d4ec045b898e2aa1373b71b05fd402ec2aaf24a05a4ae6c37e30a5108b9f189977d8e4f455687e3a17c652bcf85a200310b811473316'
2022-03-28 06:46:50 +02:00
)
sha512sums_aarch64=(
2022-07-15 23:57:25 +02:00
'31d9d595d4c70fb6300fa003f9f4baec0c17e6f0aef3796e191a02d8b3166afdce907bde6858ede7a1118b3898c9213ce4194a4cafbc74ce420fee44cf97090b'
'0e0998ab5657737ffc765bba5948ef471cd6a3b8b1070914e744661dc2d9951bc516bc39c2874b81c0cf853a120f903721500892cd367bf0fd61f44fa0db37d1'
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
}