runc: update to 1.0.0-rc6

runc: enable apparmor support

runc: build and install manpages
This commit is contained in:
Cameron Nemo 2018-12-09 23:31:42 -08:00 committed by maxice8
parent 769ff08e45
commit 54991a1482

View file

@ -1,27 +1,26 @@
# Template file for 'runc'
pkgname=runc
version=1.0.0
revision=6
_subver="rc5"
revision=7
_subver="rc6"
_ver="$version-$_subver"
wrksrc="$pkgname-$_ver"
build_style=go
go_import_path=github.com/opencontainers/runc
wrksrc="$pkgname-$_ver"
hostmakedepends="git pkg-config"
go_build_tags="seccomp apparmor"
hostmakedepends="pkg-config go-md2man"
makedepends="libseccomp-devel"
short_desc="CLI tool for spawning and running OCI containers"
maintainer="Paul Knopf <pauldotknopf@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/opencontainers/runc"
distfiles="https://github.com/opencontainers/runc/releases/download/v${_ver}/runc.tar.xz"
checksum=0304d249d0d381fbe4812999d30491b7abebf5a730aac59119f362cb7fdb2a20
checksum=8c8ddc5c62b8d6b0dac197a09ea1680dc2cec38e4c5c8ca09c5483839b18e8b0
do_build() {
cd ${GOSRCPATH}
make
post_build() {
make man
}
do_install() {
cd ${GOSRCPATH}
make install BINDIR=${DESTDIR}/usr/bin
post_install() {
make install-man PREFIX="${DESTDIR}/usr"
}