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-04-30 19:42:14 +02:00
pkgver=20220425.0
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-04-30 19:42:14 +02:00
'3306db84b97e617d10021dde12ff0d6670d8579e997c5f57fd18cbcba033b4ff0a458ce1e766f3a14fd76919606ef1cf03b1c945317e56e8452c1c857e8954e5'
'f04031360b6e6c2817b7a83f139a98ae2c7d8093d9eeab61870e7ee0eb8b3067d7e9d66ef9003db4263e1475bf7438dd42f494695a4b3b92e947ae0ca946901e'
2022-03-28 06:46:50 +02:00
)
sha512sums_aarch64=(
2022-04-30 19:42:14 +02:00
'53f81d2b6d52eb85b9fb936b6088455ed28fd330cb720c6c47a086504c6ed78323fabf417452b52e30c7a9b14bc9b34d51b0263daa5d126e01967ae849878fa7'
'096f13ebc96bab22676c78196fd81dce0404d186109607ea3e68e98cd1c2a0edbb5c84da1280d047abf18675d65209a9ad06e746d5e0d849433917b071d2198e'
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
}