app-misc/razertool: [QA] Use relative symlink target(s)
authorMichał Górny <mgorny@gentoo.org>
Thu, 24 Aug 2017 11:16:04 +0000 (13:16 +0200)
committerMichał Górny <mgorny@gentoo.org>
Thu, 24 Aug 2017 15:53:07 +0000 (17:53 +0200)
app-misc/razertool/razertool-0.0.7-r4.ebuild

index 37c939c3b6a7dd6b711aff1ad7f07ed6ca6da3f8..916571dbd9e01769ee4a78c9f2045e50fc19be08 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -51,7 +51,7 @@ src_install() {
        newins razertool.rules.example 90-razertool.rules
 
        # Icon and desktop entry
-       dosym /usr/share/${PN}/pixmaps/${PN}-icon.png /usr/share/pixmaps/${PN}-icon.png
+       dosym ../razertool/pixmaps/razertool-icon.png /usr/share/pixmaps/razertool-icon.png
        make_desktop_entry "razertool-gtk" "RazerTool" ${PN}-icon "GTK;Settings;HardwareSettings"
 }