void-packages/srcpkgs/docker-gen/template

23 lines
577 B
Bash

# Template file for 'docker-gen'
pkgname=docker-gen
version=0.7.4
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 <abc@pompel.me>"
license="MIT"
homepage="https://$go_import_path"
distfiles="$homepage/archive/$version.tar.gz"
checksum=7951b63684e4ace9eab4f87f0c5625648f8add2559fa7779fabdb141a8a83908
pre_build() {
glock sync -n < GLOCKFILE
}
post_install() {
vlicense LICENSE
}