# Contributor: Carlo Landmeter # Maintainer: Carlo Landmeter pkgname=govendor pkgver=1.0.9 pkgrel=0 pkgdesc="Go vendor tool that works with the standard vendor file" url="https://github.com/kardianos/govendor" arch="all" license="BSD" depends="" makedepends="go" install="" subpackages="" source="govendor-$pkgver.tar.gz::https://github.com/kardianos/govendor/archive/v$pkgver.tar.gz" builddir="$srcdir/github.com/kardianos/$pkgname" prepare() { mkdir -p ${builddir%/*} mv "$srcdir"/$pkgname-$pkgver "$builddir"/ || return 1 default_prepare } build() { cd "$builddir" export GOPATH="$startdir" go build -v } package() { install -Dm755 "$builddir"/govendor "$pkgdir"/usr/bin/govendor } sha512sums="3ea102e4f0fb8d6619dae3ba7a8022c81fc5711fad8e874c1cb1bfc0c830fa50a057035fb28a060c3b0fb2dd10b65881bf91e5260c48827819610bf483d9884e govendor-1.0.9.tar.gz"