2015-10-13 12:20:28 +02:00
|
|
|
# Template file for 'docker-gen'
|
|
|
|
pkgname=docker-gen
|
2016-05-13 12:43:32 +02:00
|
|
|
version=0.7.1
|
|
|
|
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-05-13 12:43:32 +02:00
|
|
|
checksum=e806667474863f4e3793b52af274405c99731458dfe7715ed84edc3675ea7941
|
|
|
|
|
|
|
|
pre_build() {
|
|
|
|
glock sync -n < GLOCKFILE
|
|
|
|
}
|
2015-10-13 12:20:28 +02:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|