void-packages/srcpkgs/dep/template

24 lines
576 B
Bash

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