void-packages/srcpkgs/containers.storage/template

22 lines
660 B
Bash

# Template file for 'containers.storage'
pkgname=containers.storage
version=1.37.3
revision=1
hostmakedepends="go-md2man"
short_desc="Storage configuration shared by podman, buildah, and skopeo"
maintainer="Cameron Nemo <cam@nohom.org>"
license="Apache-2.0"
homepage="https://github.com/containers/storage"
distfiles="https://github.com/containers/storage/archive/refs/tags/v${version}.tar.gz"
checksum=344ca995120ddf7cb3d341f27c6315dcc4e5a5807b95d1db5a7a21b4f9a95339
_manpage="containers-storage.conf.5"
do_build() {
go-md2man -in "docs/${_manpage}.md" -out "$_manpage"
}
do_install() {
vman "$_manpage"
vinstall storage.conf 0644 usr/share/containers
}