From 54991a1482287690fb1dd000b8dd4e561ff1f1e4 Mon Sep 17 00:00:00 2001 From: Cameron Nemo Date: Sun, 9 Dec 2018 23:31:42 -0800 Subject: [PATCH] runc: update to 1.0.0-rc6 runc: enable apparmor support runc: build and install manpages --- srcpkgs/runc/template | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/srcpkgs/runc/template b/srcpkgs/runc/template index 1d50920c48..187375ca9a 100644 --- a/srcpkgs/runc/template +++ b/srcpkgs/runc/template @@ -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 " 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" }