void-packages/srcpkgs/docker-gen/template

23 lines
580 B
Bash

# Template file for 'docker-gen'
pkgname=docker-gen
version=0.7.1
revision=1
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=e806667474863f4e3793b52af274405c99731458dfe7715ed84edc3675ea7941
pre_build() {
glock sync -n < GLOCKFILE
}
post_install() {
vlicense LICENSE
}