diff options
author | Kevin Orr | 2019-11-18 16:08:15 -0500 |
---|---|---|
committer | Kevin Orr | 2019-11-18 16:08:15 -0500 |
commit | 7324936a271451ce1f2b2cbfaaddd4d79bd40d3b (patch) | |
tree | 76528cf0a155fa8d36e7be75a6eff1ccdb100253 | |
parent | d2dc91c0cfae35d654c05935b325a565dd3324d0 (diff) | |
download | aur-7324936a271451ce1f2b2cbfaaddd4d79bd40d3b.tar.gz |
Move setting of env vars to perpare(), and bump pkgver
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -4,7 +4,7 @@ # Contributor: John Trengrove <john at retrofilter dot com> pkgname=dgraph-git -pkgver=1.0.12.rc3.r634.g31b96c263 +pkgver=1.1.0.r150.g1ee42ef40 pkgrel=1 pkgdesc='Fast, transactional, distributed graph database' arch=('x86_64') @@ -20,14 +20,14 @@ sha256sums=('SKIP' '94449db0bbd30aca993dbc6486fbec615e2cada7cd3d91e6b99d6a426a5d7ace' '402c5a022615f47d26db47f375f242638d04abbed3bfd22f86067f8f19031f83') -export GOPATH="$srcdir" -export GOOS=linux -case "$CARCH" in - x86_64) export GOARCH=amd64 ;; - i686) export GOARCH=386 GO386=387 ;; -esac - prepare() { + export GOPATH="$srcdir" + export GOOS=linux + case "$CARCH" in + x86_64) export GOARCH=amd64 ;; + i686) export GOARCH=386 GO386=387 ;; + esac + # sets up a fresh temporary go path and symlinks the source repo to appear under # the proper directory structure to avoid dependency manager weirdness # see https://wiki.archlinux.org/index.php/Go_package_guidelines#Old_Go_projects_(for_Go_%3C1.11) |