Package Details: the_platinum_searcher 2.2.0-1

Git Clone URL: https://aur.archlinux.org/the_platinum_searcher.git (read-only, click to copy)
Package Base: the_platinum_searcher
Description: A code search tool similar to ack, the_silver_searcher (ag) and ripgrep (rg).
Upstream URL: https://github.com/monochromegane/the_platinum_searcher
Keywords: ack ag pt ripgrep
Licenses: MIT
Conflicts: the_platinum_searcher-bin
Provides: the_platinum_searcher
Submitter: atweiden
Maintainer: pancho
Last Packager: pancho
Votes: 18
Popularity: 0.000000
First Submitted: 2014-09-01 04:21
Last Updated: 2018-10-11 19:45

Dependencies (3)

Required by (1)

Sources (1)

Latest Comments

« First ‹ Previous 1 2

spicey commented on 2016-01-05 12:05

2.0.3 is out, fixes --ignore "*.txt" not working

spicey commented on 2015-12-20 14:25

2.0.2 is out.

vially commented on 2015-10-31 14:16

I've updated the package to version 1.7.9 and fixed the GOPATH issue with the fix suggested by pancho.

Thanks!

pancho commented on 2015-10-08 05:48

I've managed to fix it by changing:

GOPATH="$GOPATH:$srcdir"

into:

GOPATH="$GOPATH${GOPATH+:}$srcdir"

The ${GOPATH+:} construct will evaluate to : only if the var GOPATH is defined.
This way you get a proper colon-delimited list of paths whether GOPATH is defined or not, keeping both camps happy.

xamfoo commented on 2015-09-18 09:39

Works for me after removing $GOPATH from check()

check() {
GOPATH="$srcdir" go test -v -x github.com/monochromegane/the_platinum_searcher/
}

seagull commented on 2015-09-01 20:04

Same for me as for vasyabelkin:
... the build failed with `GOPATH entry is relative; must be absolute path: ""`, until I changed in check() from `GOPATH="$GOPATH:$srcdir"` to `GOPATH="$srcdir"`, as $GOPATH isn't defined on my machine

vasyabelkin commented on 2015-08-27 19:51

For me the build failed with `GOPATH entry is relative; must be absolute path: ""`, until I changed in check() from `GOPATH="$GOPATH:$srcdir"` to `GOPATH="$srcdir"`, as $GOPATH isn't defined on my machine

bchretien commented on 2014-10-20 12:11

@vially: +1, there seems to be no need for those.

vially commented on 2014-09-08 06:56

Is there any particular reason why you are copying/installing the src/pkg directories into /usr/share/the_platinum_searcher?

I've just removed them and everything seems to work just fine. But maybe I'm missing something.

Thanks for the package!