Skip to content

Commit

Permalink
add clash-verge-bin
Browse files Browse the repository at this point in the history
  • Loading branch information
Dawn Xu committed Feb 19, 2024
1 parent 3b13ff4 commit 308cd0f
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
1 change: 1 addition & 0 deletions net-proxy/clash-verge-bin/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST clash-verge_1.5.1_amd64.deb 42881308 BLAKE2B c845c328095abae3487f590964ebc2f74e7fe36de43506908ba34d8d966192ae91484bdcc658c8dd6135fee9635a14a65e67ce3cd49dbd1253c311e57194723b SHA512 b2ddadff23487b3218c7e094a07a5399361b803a66e32a0955b423efea78ccb41a32b40c29056b5a441342e73c4d4c71045f9c5a2a1255f1d4f74225436434f6
32 changes: 32 additions & 0 deletions net-proxy/clash-verge-bin/clash-verge-bin-1.5.1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
inherit 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"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"

DEPEND="
dev-libs/libayatana-appindicator
net-libs/webkit-gtk:4
net-proxy/mihomo
dev-libs/openssl
"
RDEPEND="${DEPEND}"

S="${WORKDIR}"
src_install(){
exeinto /usr/bin
exeopts -m0755
doexe "${S}"/usr/bin/clash-verge
insinto /usr/lib/clash-verge
doins -r "${S}"/usr/lib/clash-verge/resources
insinto /usr/share
doins -r "${S}"/usr/share/{applications,icons}

}

0 comments on commit 308cd0f

Please sign in to comment.