void-packages/srcpkgs/containers.storage/template

25 lines
812 B
Bash

# Template file for 'containers.storage'
pkgname=containers.storage
version=1.55.0
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"
changelog="https://github.com/containers/storage/releases"
distfiles="https://github.com/containers/storage/archive/refs/tags/v${version}.tar.gz"
checksum=d6c2d3af9e0f674c248477d521d0f8fc5eac050c65e2fd3f823cc42502b22847
_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
}