void-packages/srcpkgs/umoci/template

22 lines
563 B
Bash

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