community/glide to 0.13.2-1

This commit is contained in:
Kevin Mihelich 2018-10-01 13:14:20 +00:00
parent 2e4d00a547
commit 6b842499c9

View file

@ -1,18 +1,17 @@
# $Id$
# Maintainer: Alexander F Rødseth <xyproto@archlinux.org>
# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
# Contributor: fanningert <thomas@fanninger.at>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - build with go instead of gcc-go
pkgname=glide
pkgver=0.13.1
pkgrel=2
pkgver=0.13.2
pkgrel=1
pkgdesc='Dependency management and vendoring for Go projects'
arch=('x86_64')
url='https://github.com/Masterminds/glide'
license=('MIT')
makedepends=('git' 'go')
makedepends=('go' 'git')
options=('!strip' '!emptydirs')
source=("git+$url#tag=v$pkgver")
md5sums=('SKIP')
@ -22,10 +21,8 @@ prepare() {
for f in "/usr/lib/go/"*; do ln -s "$f"; done
rm pkg && mkdir pkg && cd pkg
for f in "/usr/lib/go/pkg/"*; do ln -s "$f"; done
export GOPATH="$srcdir/build"
export GOROOT="$GOPATH/go"
mkdir -p "$GOPATH/src/${url#https://}"
mv "$srcdir/$pkgname"/* "$GOPATH/src/${url#https://}"
}