commit:     93f86bead6ca38faf622cee59caebc3f5c31bc32
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 20 17:58:04 2019 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Apr 20 17:59:47 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93f86bea

gnome-extra/gnome-shell-extension-dash-to-panel: Don't install README and 
COPYING in wrong places

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 .../gnome-shell-extension-dash-to-panel-19.ebuild                     | 4 ++++
 1 file changed, 4 insertions(+)

diff --git 
a/gnome-extra/gnome-shell-extension-dash-to-panel/gnome-shell-extension-dash-to-panel-19.ebuild
 
b/gnome-extra/gnome-shell-extension-dash-to-panel/gnome-shell-extension-dash-to-panel-19.ebuild
index 0fa5259a3e2..9fcfa4e1284 100644
--- 
a/gnome-extra/gnome-shell-extension-dash-to-panel/gnome-shell-extension-dash-to-panel-19.ebuild
+++ 
b/gnome-extra/gnome-shell-extension-dash-to-panel/gnome-shell-extension-dash-to-panel-19.ebuild
@@ -30,8 +30,12 @@ S="${WORKDIR}/${MY_P}"
 
 src_prepare() {
        default
+
        # Set correct version
        export VERSION="${PV}"
+
+       # Don't install README and COPYING in unwanted locations
+       sed -i -e 's/COPYING//g' -e 's/README.md//g' Makefile || die
 }
 
 pkg_preinst() {

Reply via email to