void-packages/srcpkgs/dep/template

25 lines
629 B
Bash

# Template file for 'dep'
pkgname=dep
version=0.5.3
revision=1
build_style=go
go_import_path=github.com/golang/dep
go_package="${go_import_path}/cmd/dep"
go_ldflags="-X main.version=v${version}"
hostmakedepends="git"
depends="git go"
short_desc="Go dependency management tool"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="BSD-3-Clause"
homepage="https://${go_import_path}"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=7522588ce2d988039b15c6a7584f854223606e6ffb37c180c11b5000906a846e
pre_build() {
git config --global http.https://gopkg.in.followRedirects true
}
post_install() {
vlicense LICENSE
}