void-packages/srcpkgs/dep/template
Érico Rolim b8c5e59acd srcpkgs/: clean up Go packages.
Fix small typos, expand some variables, leave comments for updates.
2021-02-19 12:07:43 -03:00

24 lines
633 B
Bash

# Template file for 'dep'
pkgname=dep
version=0.5.4
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://github.com/golang/dep"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=929c8f759838f98323211ba408a831ea80d93b75beda8584b6d950f393a3298a
pre_build() {
git config --global http.https://gopkg.in.followRedirects true
}
post_install() {
vlicense LICENSE
}