void-packages/srcpkgs/umoci/template

22 lines
566 B
Bash

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