void-packages/srcpkgs/umoci/template

22 lines
564 B
Bash

# Template file for 'umoci'
pkgname=umoci
version=0.4.0
revision=2
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=66997e270dee8abc9796385b162a1e8e32dd2ee2359e5200af4e6671cc1e76a0
post_install() {
make doc
for m in doc/man/*.1; do
vman "${m}"
done
}