void-packages/srcpkgs/umoci/template

22 lines
566 B
Bash

# Template file for 'umoci'
pkgname=umoci
version=0.4.1
revision=1
build_style=go
go_import_path=github.com/openSUSE/umoci
go_package="${go_import_path}/cmd/${pkgname}"
hostmakedepends="git go-md2man"
short_desc="Umoci Modifies Open Container Images"
maintainer="Cameron Nemo <camerontnorman@gmail.com>"
license="Apache-2.0"
homepage="https://umo.ci"
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
checksum=0d83e01167383f529d726e9fd455660d4837371d5f0d82fad405f3ae6ae52486
post_install() {
make doc
for m in doc/man/*.1; do
vman "${m}"
done
}