diff options
author | Mark Wagie | 2022-02-19 11:00:09 -0700 |
---|---|---|
committer | Mark Wagie | 2022-02-19 11:00:09 -0700 |
commit | 94f3ec6e69be8294f0c7bedaf8aaf559da46a863 (patch) | |
tree | a248204b193ddf92e4d8cc6498ce2003e9457aa6 | |
parent | 4b3f90cb7fdf239524186da91f4b48e042239d14 (diff) | |
download | aur-94f3ec6e69be8294f0c7bedaf8aaf559da46a863.tar.gz |
use local GOPATH
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = cheat pkgdesc = Allows you to create and view interactive cheatsheets on the command-line pkgver = 4.2.3 - pkgrel = 2 + pkgrel = 3 url = https://github.com/cheat/cheat arch = i686 arch = x86_64 @@ -3,7 +3,7 @@ # Contributor: Bogdan <d0xi at inbox dot ru> pkgname=cheat pkgver=4.2.3 -pkgrel=2 +pkgrel=3 pkgdesc="Allows you to create and view interactive cheatsheets on the command-line" arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h') url="https://github.com/cheat/cheat" @@ -26,6 +26,7 @@ sha256sums=('9624160ba542fb51bbd959d8c68b76f82ea324a6186d8d6d544b0efd8c9cc8ca' prepare() { cd "$pkgname-$pkgver" + export GOPATH="$srcdir/gopath" # create directory for build output mkdir -p build @@ -36,6 +37,7 @@ prepare() { build() { cd "$pkgname-$pkgver" + export GOPATH="$srcdir/gopath" export CGO_CPPFLAGS="${CPPFLAGS}" export CGO_CFLAGS="${CFLAGS}" export CGO_CXXFLAGS="${CXXFLAGS}" |