void-packages/srcpkgs/containers.storage/template

24 lines
753 B
Bash

# Template file for 'containers.storage'
pkgname=containers.storage
version=1.50.2
revision=1
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=8ed20cea8cd9bb6ecb63220a0b3f32df63445fe06fb8074c50e3c942e7d1ca0f
_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
}