mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
community/glide to 0.13.2-1
This commit is contained in:
parent
2e4d00a547
commit
6b842499c9
1 changed files with 4 additions and 7 deletions
|
@ -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://}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue