gnome-extra/gnome-shell-extension-dash-to-panel: Don't install README and COPYING...
authorPacho Ramos <pacho@gentoo.org>
Sat, 20 Apr 2019 17:58:04 +0000 (19:58 +0200)
committerPacho Ramos <pacho@gentoo.org>
Sat, 20 Apr 2019 17:59:47 +0000 (19:59 +0200)
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
gnome-extra/gnome-shell-extension-dash-to-panel/gnome-shell-extension-dash-to-panel-19.ebuild

index 0fa5259a3e2075f06451bc5176dc54ff98dbb517..9fcfa4e128448d018965f0116eb6589c1d512bcf 100644 (file)
@@ -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() {