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