This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: [ITP] The Silver Searcher / Ag
- From: Yaakov Selkowitz <yselkowitz at cygwin dot com>
- To: cygwin-apps at cygwin dot com
- Date: Tue, 23 Feb 2016 10:54:04 -0600
- Subject: Re: [ITP] The Silver Searcher / Ag
- Authentication-results: sourceware.org; auth=none
- References: <20160223144209 dot GA29016 at dinwoodie dot org>
On 2016-02-23 08:42, Adam Dinwoodie wrote:
I'm looking at packaging The Silver Searcher, aka Ag. The Silver
Searcher is a grep/Ack replacement designed for searching code and
optimised for speed.
The package has an Apache 2.0 license, and is already packaged for
Debian, Ubuntu and Fedora, amongst others.
setup.hint is below, further information in the links.
SRC_URI="https://github.com/ggreer/the_silver_searcher/archive/${PV}.tar.gz"
SRC_URI="https://github.com/ggreer/the_silver_searcher/archive/${VERSION}/the_silver_searcher-${VERSION}.tar.gz"
This works better with DISTDIR.
the_silver_searcher_completion_REQUIRES='the_silver_searcher bash_completion'
^
That should be bash-completion with a hyphen.
cyginstall bashcompdir=/etc/bash_completion.d
We have bash-completion-2.1 now, so you can use bashcompdir=$(pkg-config
--variable=completionsdir bash-completion) -- and change *_CONTENTS
accordingly.
--
Yaakov