summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-09-24 15:48:21 +0200
committerJeroen Roovers <jer@gentoo.org>2020-09-24 15:49:17 +0200
commite5322b7cc4ef2e6a722e2cdc3f5388d801af36b1 (patch)
treef1bdbe2061ac111f6039512d120bc1167b2a1bb8 /www-client
parentwww-client/luakit: Export LUA_BIN_NAME and LUA_PKG_NAME (diff)
downloadgentoo-e5322b7cc4ef2e6a722e2cdc3f5388d801af36b1.tar.gz
gentoo-e5322b7cc4ef2e6a722e2cdc3f5388d801af36b1.tar.bz2
gentoo-e5322b7cc4ef2e6a722e2cdc3f5388d801af36b1.zip
www-client/surfraw: Update live ebuild
Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/surfraw/files/surfraw-99999-sr-completion-path.patch11
-rw-r--r--www-client/surfraw/surfraw-99999.ebuild3
2 files changed, 13 insertions, 1 deletions
diff --git a/www-client/surfraw/files/surfraw-99999-sr-completion-path.patch b/www-client/surfraw/files/surfraw-99999-sr-completion-path.patch
new file mode 100644
index 000000000000..273ffcb3ce55
--- /dev/null
+++ b/www-client/surfraw/files/surfraw-99999-sr-completion-path.patch
@@ -0,0 +1,11 @@
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -112,7 +112,7 @@
+ mkdir -p $(DESTDIR)@datadir@/bash-completion/completions
+ @cp $(top_srcdir)/surfraw-bash-completion $(DESTDIR)@datadir@/bash-completion/completions/surfraw
+ if INSTALLSR
+- @ln -sf $(DESTDIR)@datadir@/bash-completion/completions/surfraw $(DESTDIR)@datadir@/bash-completion/completions/sr
++ @ln -sf surfraw $(DESTDIR)@datadir@/bash-completion/completions/sr
+ endif # INSTALLSR
+ endif # BASHCOMPLETIONS
+
diff --git a/www-client/surfraw/surfraw-99999.ebuild b/www-client/surfraw/surfraw-99999.ebuild
index 6c4ea3c98769..2ec87d0aa314 100644
--- a/www-client/surfraw/surfraw-99999.ebuild
+++ b/www-client/surfraw/surfraw-99999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -23,6 +23,7 @@ DOCS=(
)
PATCHES=(
"${FILESDIR}"/${PN}-2.3.0-completion.patch
+ "${FILESDIR}"/${PN}-99999-sr-completion-path.patch
)
src_prepare() {