Skip to content

Commit

Permalink
net-proxy/clash-verge-bin: fix domenu and doicon
Browse files Browse the repository at this point in the history
  • Loading branch information
Universebenzene authored and liangyongxiang committed Feb 22, 2024
1 parent b448ad6 commit bb5513b
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions net-proxy/clash-verge-bin/clash-verge-bin-1.5.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit desktop unpacker xdg

DESCRIPTION="(Continuation) of Clash Meta GUI based on Tauri. "
HOMEPAGE="https://github.com/clash-verge-rev/clash-verge-rev"
SRC_URI="https://github.com/clash-verge-rev/clash-verge-rev/releases/download/v${PV}/clash-verge_${PV}_amd64.deb"
Expand All @@ -15,17 +17,19 @@ DEPEND="
dev-libs/libayatana-appindicator
net-libs/webkit-gtk:4
net-proxy/mihomo
dev-libs/openssl
dev-libs/openssl:0/3
"

RDEPEND="${DEPEND}"

S="${WORKDIR}"

src_install(){
dobin "${S}"/usr/bin/clash-verge
insinto /usr/lib/clash-verge
doins -r "${S}"/usr/lib/clash-verge/resources
domenu usr/share/applications/clash-verge.desktop
doicon -s 128 usr/share/icons/hicolor/128x128/apps/${MY_PN}.png
doicon -s 256 usr/share/icons/hicolor/256x256@2/apps/${MY_PN}.png
doicon -s 32 usr/share/icons/hicolor/32x32/apps/${MY_PN}.png
doicon -s 128 usr/share/icons/hicolor/128x128/apps/${PN/-bin}.png
doicon -s 256 usr/share/icons/hicolor/256x256@2/apps/${PN/-bin}.png
doicon -s 32 usr/share/icons/hicolor/32x32/apps/${PN/-bin}.png
}

0 comments on commit bb5513b

Please sign in to comment.