mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
removed community/runc
This commit is contained in:
parent
eeca4e906b
commit
687cd64428
1 changed files with 0 additions and 55 deletions
|
@ -1,55 +0,0 @@
|
|||
# $Id$
|
||||
# Maintainer: Sébastien "Seblu" Luttringer
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - x86_64 import, no modifications
|
||||
|
||||
pkgname=runc
|
||||
pkgver=0.1.1
|
||||
pkgrel=2
|
||||
pkgdesc='CLI tool for managing OCI compliant containers'
|
||||
arch=('x86_64')
|
||||
url='https://runc.io/'
|
||||
license=('Apache')
|
||||
depends=('glibc' 'libseccomp')
|
||||
makedepends=('git' 'go' 'go-md2man')
|
||||
source=("git+https://github.com/opencontainers/runc#tag=v$pkgver")
|
||||
md5sums=('SKIP')
|
||||
|
||||
prepare() {
|
||||
cd runc
|
||||
# apply patch from the source array (should be a pacman feature)
|
||||
local filename
|
||||
for filename in "${source[@]}"; do
|
||||
if [[ "$filename" =~ \.patch$ ]]; then
|
||||
msg2 "Applying patch $filename"
|
||||
patch -p1 -N -i "$srcdir/$filename"
|
||||
fi
|
||||
done
|
||||
:
|
||||
}
|
||||
|
||||
build() {
|
||||
mkdir -p src/github.com/opencontainers
|
||||
cd src/github.com/opencontainers
|
||||
ln -fs "$srcdir/runc"
|
||||
cd runc
|
||||
export GOPATH="$srcdir" BUILDTAGS='seccomp'
|
||||
make
|
||||
man/md2man-all.sh 2>/dev/null
|
||||
}
|
||||
|
||||
#check() {
|
||||
# cd runc
|
||||
# make test
|
||||
#}
|
||||
|
||||
package() {
|
||||
cd runc
|
||||
install -Dm755 runc "$pkgdir/usr/bin/runc"
|
||||
# man pages
|
||||
install -dm755 "$pkgdir/usr/share/man"
|
||||
mv man/man*/ "$pkgdir/usr/share/man"
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
Loading…
Reference in a new issue