This commit is contained in:
Vincent Kobel 2018-05-03 17:02:03 +02:00
commit 3f42b71f8f
2 changed files with 40 additions and 0 deletions

15
.SRCINFO Normal file
View file

@ -0,0 +1,15 @@
pkgbase = gvisor-git
pkgdesc = User-space kernel, sandboxed container runtime
pkgver = 26.4603f97
pkgrel = 1
url = https://github.com/google/gvisor
arch = x86_64
license = Apache-2.0
makedepends = bazel
makedepends = python
provides = runsc
source = git+https://github.com/vkobel/gvisor.git
sha256sums = SKIP
pkgname = gvisor-git

25
PKGBUILD Normal file
View file

@ -0,0 +1,25 @@
# Maintainer: Vincent Kobel (v@kobl.one)
_pkgname='gvisor'
pkgname="${_pkgname}-git"
pkgver=26.4603f97
pkgrel=1
pkgdesc="User-space kernel, sandboxed container runtime"
arch=('x86_64')
url='https://github.com/google/gvisor'
license=('Apache-2.0')
sha256sums=('SKIP')
source=(git+https://github.com/vkobel/gvisor.git)
provides=('runsc')
makedepends=('bazel' 'python')
build() {
cd "${srcdir}/${_pkgname}"
bazel build runsc
}
package() {
cd "${srcdir}/${_pkgname}"
install -D ./bazel-bin/runsc/linux_amd64_pure_stripped/runsc "${pkgdir}/usr/bin/runsc"
}