Package Details: yay 2.219-2

Git Clone URL: (read-only)
Package Base: yay
Description: Yet another yogurt. Pacman wrapper and AUR helper written in go.
Upstream URL:
Keywords: AUR go helper pacman wrapper
Licenses: GPL
Conflicts: yay-bin
Submitter: jguer
Maintainer: jguer
Last Packager: jguer
Votes: 24
Popularity: 7.896668
First Submitted: 2016-10-05 17:20
Last Updated: 2017-12-06 00:56

Latest Comments

jguer commented on 2017-12-06 01:00

Updated the PKGBUILD to export in the two scopes. Still haven't found a way to make package vendoring easier to use in PKGBUILDs.

egrupled commented on 2017-12-05 11:12

I think I found it. At first I tried build it with pacaur and it failed. I tried then manually with makepkg and it worked.

It seems that pacaur discards env variables between prepare and build sections. It means it's better to set them twice like this:

prepare() {
  export GOPATH="${srcdir}/.go"
  export GOBIN="$GOPATH/bin"
  mkdir -p "$GOPATH"
  rm -rf "$GOPATH/src"
  ln -sf "$srcdir/$pkgname-$pkgver/vendor" "$GOPATH/src"

build() {
  export GOPATH="${srcdir}/.go"
  export GOBIN="$GOPATH/bin"
  cd "$srcdir/$pkgname-$pkgver"
  go build -v -o ${pkgname} -ldflags "-s -w -X main.version=${pkgver}"

jguer commented on 2017-12-05 03:20

Weird, just tried a clean build and it worked. It appears your $GOPATH is not being changed to the temporary one. I'm trying to reproduce it.

egrupled commented on 2017-12-04 09:53

Doesn't build after and

completions.go:9:2: cannot find package "" in any of:

/usr/lib/go/src/ (from $GOROOT)

/home/user/go/src/ (from $GOPATH)

dependencies.go:7:2: cannot find package "" in any of:

/usr/lib/go/src/ (from $GOROOT)

/home/user/go/src/ (from $GOPATH)

install.go:9:2: cannot find package "" in any of:

/usr/lib/go/src/ (from $GOROOT)

/home/user/go/src/ (from $GOPATH)

==> ERROR: A failure occurred in build().

jguer commented on 2017-10-25 11:55

You're right, will remove it next minor release.

egrupled commented on 2017-10-21 14:04

GPL3 is license already included in you don't have to install it separately for each package. Please remove it from PKGBUILD

jguer commented on 2017-04-25 15:43

yay doesn't use checksums since it compiles from a git source and it's building fine over here but I've regenerated the .SRCINFO to make sure there is no missing field. commented on 2017-04-25 08:10

Did you forgot to run `updpkgsums`?

:: Installing yay package(s)...
:: yay package(s) failed to install. Check .SRCINFO for mismatching data with PKGBUILD.