New package: containers.image-1.5.1

This commit is contained in:
Cameron Nemo 2019-05-31 07:47:14 +00:00 committed by Helmut Pozimski
parent bea2c9065c
commit fde95c6adf

View file

@ -0,0 +1,28 @@
# Template file for 'containers.image'
pkgname=containers.image
version=1.5.1
revision=1
wrksrc="image-${version}"
conf_files="/etc/containers/registries.conf"
hostmakedepends="go-md2man"
short_desc="Configuration shared by podman, buildah, and skopeo"
maintainer="Cameron Nemo <cnemo@tutanota.com>"
license="Apache-2.0"
homepage="https://github.com/containers/image"
distfiles="https://github.com/containers/image/archive/v${version}.tar.gz"
checksum=369dd8a90eae5d25acd843f8eff5c571392a43582d3eced5bbdc4b3f0e81c551
do_build() {
mkdir -p build
for doc in docs/*.*.md; do
docbase="${doc##*/}"
go-md2man -in "${doc}" -out "build/${docbase/.md/}"
done
}
do_install() {
for man in build/*; do
vman "${man}"
done
vinstall registries.conf 0644 etc/containers
}