From a9a07ca6b3fa1ee75ec14cf09c6389572bd70c33 Mon Sep 17 00:00:00 2001 From: neodarz Date: Wed, 11 Jul 2018 00:39:02 +0200 Subject: Fix --- PKGBUILD | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD index f744f00..967e3ce 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ _pkgname=grv pkgname=$_pkgname-git -pkgver=r229.121ee06 +pkgver=v0.2.0.r11.g7ed2346 pkgrel=1 pkgdesc="terminal interface for viewing git repositories" arch=('i686' 'x86_64') @@ -25,15 +25,18 @@ pkgver() { } build() { - export GOROOT=/usr/lib/go export GOPATH="$srcdir" - go get -d github.com/rgburke/grv/cmd/$_pkgname + mkdir -p $GOPATH/src/github.com/rgburke + rm -rf $GOPATH/src/github.com/rgburke/$_pkgname + mv $srcdir/$_pkgname $GOPATH/src/github.com/rgburke + cd $GOPATH/src/github.com/rgburke/$_pkgname make } package() { - export GOROOT="$GOPATH" + # Make instal doesn't work :'( + #make install install -Dm755 "$srcdir/src/github.com/rgburke/grv/grv" "$pkgdir/usr/bin/$_pkgname" } -- cgit v1.2.1