commit:     687380fdc88a8d4ab1ce1e3352a12a7f0ded187e
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  2 01:03:52 2019 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Jan  2 01:04:15 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=687380fd

www-client/surfraw: Add live ebuild

Package-Manager: Portage-2.3.53, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 www-client/surfraw/surfraw-99999.ebuild | 48 +++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/www-client/surfraw/surfraw-99999.ebuild 
b/www-client/surfraw/surfraw-99999.ebuild
new file mode 100644
index 00000000000..bc760e5d611
--- /dev/null
+++ b/www-client/surfraw/surfraw-99999.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools bash-completion-r1 git-r3
+
+DESCRIPTION="A fast unix command line interface to WWW"
+LICENSE="public-domain"
+HOMEPAGE="
+       http://surfraw.alioth.debian.org/
+       https://gitlab.com/surfraw/Surfraw
+"
+EGIT_REPO_URI="https://gitlab.com/surfraw/Surfraw.git";
+
+SLOT="0"
+KEYWORDS=""
+RESTRICT="test"
+
+RDEPEND="
+       dev-lang/perl
+"
+DOCS=(
+       AUTHORS ChangeLog HACKING NEWS README TODO
+)
+PATCHES=(
+       "${FILESDIR}"/${PN}-2.3.0-completion.patch
+)
+
+src_prepare() {
+       default
+       eautoreconf
+}
+
+src_configure() {
+       econf --with-elvidir='$(datadir)'/surfraw
+}
+
+src_install() {
+       default
+
+       newbashcomp surfraw-bash-completion ${PN}
+       bashcomp_alias ${PN} sr
+
+       docinto examples
+       dodoc examples/README
+       insinto /usr/share/doc/${PF}/examples
+       doins examples/uzbl_load_url_from_surfraw
+}

Reply via email to