void-packages/srcpkgs/containers.storage/template

24 lines
753 B
Bash

# Template file for 'containers.storage'
pkgname=containers.storage
version=1.37.3
revision=2
hostmakedepends="go-md2man"
depends="fuse-overlayfs"
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"
vsed -e 's/^#mount_program = "/mount_program = "/' -i storage.conf
vinstall storage.conf 0644 usr/share/containers
}