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