From 61ed9229ded037c3ab1078c954c35641d5f77824 Mon Sep 17 00:00:00 2001 From: Cameron Nemo Date: Mon, 20 Aug 2018 02:33:48 -0700 Subject: [PATCH] skopeo: install config files --- srcpkgs/skopeo/template | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/srcpkgs/skopeo/template b/srcpkgs/skopeo/template index 02af525b45..f05ed5d74b 100644 --- a/srcpkgs/skopeo/template +++ b/srcpkgs/skopeo/template @@ -1,7 +1,7 @@ # Template file for 'skopeo' pkgname=skopeo version=0.1.31 -revision=1 +revision=2 build_style=go go_import_path="github.com/projectatomic/${pkgname}" go_package="${go_import_path}/cmd/${pkgname}" @@ -13,10 +13,17 @@ license="Apache-2.0" homepage="https://github.com/containers/skopeo" distfiles="https://github.com/containers/${pkgname}/archive/v${version}.tar.gz" checksum=f41121044ddca07afa63788302caf3582a653269c9601f7528003693d9807726 +make_dirs="/var/lib/atomic/sigstore 0755 root root" + +post_build() { + go-md2man -in docs/skopeo.1.md -out docs/skopeo.1 +} post_install() { - go-md2man -in docs/skopeo.1.md -out docs/skopeo.1 vman docs/skopeo.1 - vinstall completions/bash/skopeo 644 usr/share/bash-completion/completions + vmkdir etc/containers + vinstall default-policy.json 644 etc/containers policy.json + vmkdir etc/containers/registries.d + vinstall default.yaml 644 etc/containers/registries.d }