Package Details: mihomo-party-bin 1.9.1-1

Git Clone URL: https://aur.archlinux.org/mihomo-party-bin.git (read-only, click to copy)
Package Base: mihomo-party-bin
Description: Another Mihomo GUI.
Upstream URL: https://github.com/mihomo-party-org/mihomo-party
Keywords: clash clash-meta mihomo mihomo-party
Licenses: GPL3
Conflicts: mihomo-party, mihomo-party-git
Submitter: pompurin404
Maintainer: pompurin404
Last Packager: pompurin404
Votes: 7
Popularity: 0.080917
First Submitted: 2024-08-07 05:43 (UTC)
Last Updated: 2026-01-15 16:57 (UTC)

Dependencies (10)

Required by (0)

Sources (3)

Latest Comments

NekoLOvO commented on 2025-11-03 16:40 (UTC)

现在又是/opt/mihomo-party

happyZYM commented on 2025-09-11 07:06 (UTC)

对于1.8.7版本,可以做这个修改

diff --git a/PKGBUILD b/PKGBUILD
index 050cb55..0c2a3d1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,18 +14,18 @@ install=$_pkgname.install
 source=("${_pkgname}.sh")
 source_x86_64=("${_pkgname}-${pkgver}-x86_64.deb::${url}/releases/download/v${pkgver}/clash-party-linux-${pkgver}-amd64.deb")
 source_aarch64=("${_pkgname}-${pkgver}-aarch64.deb::${url}/releases/download/v${pkgver}/clash-party-linux-${pkgver}-arm64.deb")
-sha256sums=('242609b1259e999e944b7187f4c03aacba8134a7671ff3a50e2e246b4c4eff48')
+sha256sums=('f8049c1f26d5a92fbcebd7bebbdedbb3eab53422b21cf6127418251ccd061282')
 sha256sums_x86_64=("6bb181b3b20a3057c304095e1658cf6102ec8e0aa48e94f25be5ad2da6be2fc3")
 sha256sums_aarch64=("26b21a8ded18ab4d9d8f71669ca76f5abf91d3af8413673b6702007a4aaa6367")

 package() {
     bsdtar -xf data.tar.xz -C "${pkgdir}/"
-    chmod +x ${pkgdir}/opt/clash-party/mihomo-party
-    chmod +sx ${pkgdir}/opt/clash-party/resources/sidecar/mihomo
-    chmod +sx ${pkgdir}/opt/clash-party/resources/sidecar/mihomo-alpha
-    chmod +sx ${pkgdir}/opt/clash-party/resources/sidecar/mihomo-smart
+    chmod +x ${pkgdir}/opt/mihomo-party/mihomo-party
+    chmod +sx ${pkgdir}/opt/mihomo-party/resources/sidecar/mihomo
+    chmod +sx ${pkgdir}/opt/mihomo-party/resources/sidecar/mihomo-alpha
+    chmod +sx ${pkgdir}/opt/mihomo-party/resources/sidecar/mihomo-smart
     install -Dm755 "${srcdir}/${_pkgname}.sh" "${pkgdir}/usr/bin/${_pkgname}"
-    sed -i '3s!/opt/clash-party/mihomo-party!mihomo-party!' "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
+    sed -i '3s!/opt/mihomo-party/mihomo-party!mihomo-party!' "${pkgdir}/usr/share/applications/${_pkgname}.desktop"

     chown -R root:root ${pkgdir}
 }
diff --git a/mihomo-party.sh b/mihomo-party.sh
index 97b8bb1..6304ccb 100644
--- a/mihomo-party.sh
+++ b/mihomo-party.sh
@@ -9,4 +9,4 @@ if [[ -f "${XDG_CONFIG_HOME}/mihomo-party-flags.conf" ]]; then
 fi

 # Launch
-exec /opt/clash-party/mihomo-party ${MIHOMO_PARTY_USER_FLAGS[@]} "$@"
+exec /opt/mihomo-party/mihomo-party ${MIHOMO_PARTY_USER_FLAGS[@]} "$@"

Quantus commented on 2025-09-10 04:11 (UTC) (edited on 2025-09-10 04:22 (UTC) by Quantus)

1.8.7版本安装或更新的时候如果出现如下错误: chmod: cannot access '/home/xxx/.cache/paru/clone/mihomo-party-bin/pkg/mihomo-party-bin/opt/clash-party/mihomo-party': No such file or directory ==> ERROR: A failure occurred in package(). Aborting... error: failed to build 'mihomo-party-bin-1.8.7-1': error: packages failed to build: mihomo-party-bin-1.8.7-1

就在PKGBUILD的bsdtar -xf data.tar.xz -C "${pkgdir}/"这一行后面加上: if [ -d "${pkgdir}/opt/mihomo-party" ]; then mv "${pkgdir}/opt/mihomo-party" "${pkgdir}/opt/clash-party" fi

然后就行了。但是还有其它问题,比如/usr/share/applications/mihomo-party.desktop里面的路径都没改,还是/opt/mihomo-party,但现在都是/opt/clash-party了。目前安装完后,在开始菜单里就找不到图标文件了。要不作者新开一个clash-party-bin吧,别整这个了。

cola9104 commented on 2025-06-30 17:57 (UTC)

github下载源码 到路径的/aur/mihomo-party-bin路径替换PKGBUILD内容为下 pkgname=mihomo-party-bin _pkgname=mihomo-party pkgver=1.7.6 pkgrel=1 pkgdesc="Another Mihomo GUI." arch=('x86_64' 'aarch64') url="https://github.com/mihomo-party-org/mihomo-party" license=('GPL3') conflicts=("$_pkgname" "$_pkgname-git" "$_pkgname-electron" "$_pkgname-electron-bin") conflicts=("mihomo-party-git" 'mihomo-party') depends=('gtk3' 'libnotify' 'nss' 'libxss' 'libxtst' 'xdg-utils' 'at-spi2-core' 'util-linux-libs' 'libsecret') optdepends=('libappindicator-gtk3: Allow mihomo-party to extend a menu via Ayatana indicators in Unity, KDE or Systray (GTK+ 3 library).') install=$_pkgname.install source=("${_pkgname}.sh") source_x86_64=("${_pkgname}-${pkgver}-x86_64.deb::${url}/releases/download/v${pkgver}/mihomo-party-linux-${pkgver}-amd64.deb") source_aarch64=("${_pkgname}-${pkgver}-aarch64.deb::${url}/releases/download/v${pkgver}/mihomo-party-linux-${pkgver}-arm64.deb") sha256sums=('f8049c1f26d5a92fbcebd7bebbdedbb3eab53422b21cf6127418251ccd061282') sha256sums_x86_64=('f3745a8cfade1a278e601024a11e85b054449ce1830ee30aebe420f91fe4a1a7') sha256sums_aarch64=('8cd7398b8fc1cd70d41e386af9995cbddc1043d9018391c29f056f1435712a10')

package() { bsdtar -xf data.tar.xz -C "${pkgdir}/" chmod +x ${pkgdir}/opt/mihomo-party/mihomo-party chmod +sx ${pkgdir}/opt/mihomo-party/resources/sidecar/mihomo chmod +sx ${pkgdir}/opt/mihomo-party/resources/sidecar/mihomo-alpha install -Dm755 "${srcdir}/${_pkgname}.sh" "${pkgdir}/usr/bin/${_pkgname}" sed -i '3s!/opt/mihomo-party/mihomo-party!mihomo-party!' "${pkgdir}/usr/share/applications/${_pkgname}.desktop"

chown -R root:root ${pkgdir}

}

nealinux commented on 2024-09-29 10:55 (UTC)

最新版(1.3.5)安装有问题,缺少文件

==> 正在开始 package()...
install: 对 '/home/hypr/.cache/yay/mihomo-party-bin/src/mihomo-party-bin.sh' 调用 stat 失败: 没有那个文件或目录
==> 错误: 在 package() 中发生一个错误。