void-packages/srcpkgs/docker-gen/template
2017-04-07 19:10:16 +00:00

22 lines
577 B
Bash

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