2015-10-13 10:20:28 +00:00
|
|
|
# Template file for 'docker-gen'
|
|
|
|
pkgname=docker-gen
|
2016-06-13 19:23:35 +00:00
|
|
|
version=0.7.3
|
2016-05-13 10:43:32 +00:00
|
|
|
revision=1
|
2015-10-13 10:20:28 +00:00
|
|
|
build_style=go
|
2016-05-13 10:43:32 +00:00
|
|
|
hostmakedepends="git-perl glock"
|
2015-10-13 10:20:28 +00:00
|
|
|
short_desc="Generate files from docker container meta-data"
|
|
|
|
go_import_path="github.com/jwilder/docker-gen"
|
2016-01-05 11:16:48 +00:00
|
|
|
go_package="${go_import_path}/cmd/docker-gen"
|
2015-10-13 10:20:28 +00:00
|
|
|
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="https://$go_import_path"
|
|
|
|
distfiles="$homepage/archive/$version.tar.gz"
|
2016-06-13 19:23:35 +00:00
|
|
|
checksum=60810f9c401b22ea445cff3219c9a206e0fbe21bb7d55870407045015d60e782
|
2016-05-13 10:43:32 +00:00
|
|
|
|
|
|
|
pre_build() {
|
|
|
|
glock sync -n < GLOCKFILE
|
|
|
|
}
|
2015-10-13 10:20:28 +00:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|