void-packages/srcpkgs/docker-gen/template

23 lines
580 B
Bash

# Template file for 'docker-gen'
pkgname=docker-gen
version=0.7.3
revision=3
build_style=go
hostmakedepends="git-perl glock"
short_desc="Generate files from docker container meta-data"
go_import_path="github.com/jwilder/docker-gen"
go_package="${go_import_path}/cmd/docker-gen"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
license="MIT"
homepage="https://$go_import_path"
distfiles="$homepage/archive/$version.tar.gz"
checksum=60810f9c401b22ea445cff3219c9a206e0fbe21bb7d55870407045015d60e782
pre_build() {
glock sync -n < GLOCKFILE
}
post_install() {
vlicense LICENSE
}