summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChenx Dust2023-12-09 02:13:30 +0800
committerChenx Dust2023-12-09 02:13:30 +0800
commit4320972a36da9baa4600cf5570ce3b0c23b9f2db (patch)
tree6142d8f0d820b6627d2555d9381f066411ee63fa
parent9d94cf3121cd8e2ba311d6bca620079906816831 (diff)
downloadaur-4320972a36da9baa4600cf5570ce3b0c23b9f2db.tar.gz
Rename: hello mihomo
-rw-r--r--.SRCINFO52
-rw-r--r--PKGBUILD60
-rw-r--r--clash-meta-bin.install12
-rw-r--r--mihomo-bin.install12
-rw-r--r--mihomo.service (renamed from clash-meta.service)4
-rw-r--r--mihomo@.service (renamed from clash-meta@.service)4
6 files changed, 72 insertions, 72 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bda7e3acb65c..9679d90d52a5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
-pkgbase = clash-meta-bin
- pkgdesc = Another Clash Kernel by MetaCubeX
- pkgver = 1.16.0
- pkgrel = 2
- url = https://github.com/MetaCubeX/Clash.Meta
- install = clash-meta-bin.install
+pkgbase = mihomo-bin
+ pkgdesc = Binary version of mihomo.
+ pkgver = 1.17.0
+ pkgrel = 1
+ url = https://github.com/MetaCubeX/mihomo
+ install = mihomo-bin.install
arch = i686
arch = x86_64
arch = arm
@@ -12,26 +12,26 @@ pkgbase = clash-meta-bin
arch = aarch64
license = GPL3
depends = glibc
- provides = clash-meta
- conflicts = clash-meta
- backup = etc/clash-meta/config.yaml
- source = clash-meta.service
- source = clash-meta@.service
+ provides = mihomo
+ conflicts = mihomo
+ backup = etc/mihomo/config.yaml
+ source = mihomo.service
+ source = mihomo@.service
source = config.yaml
- sha256sums = 9e8a28e22c159d7d70c258b65f47bc734543e54cb0cd3957ce19349aca145af8
- sha256sums = 29c73ac66d6fe60bea4359ac1857e3452f26c2af792efd8dd16d558462472efb
+ sha256sums = db3ef7a0e8ae960700ab7828a59b0ee6dd39adf36fb21728476d6040e16617d4
+ sha256sums = c0ebad4d616980b88bab06d6b0f6c686dbe601d389112d2ea10e52e0b00def73
sha256sums = c4af03523b8006d206440163406ee9b4de1a10bb5023fb3194490b8225a5e481
- source_i686 = clash-meta-bin-i686-1.16.0.gz::https://github.com/MetaCubeX/Clash.Meta/releases/download/v1.16.0/Clash.Meta-linux-386-v1.16.0.gz
- sha256sums_i686 = edc34b297e17f6a274b734f1a47f817e5ceb3cb9e966a17466c30a62e9ba0578
- source_x86_64 = clash-meta-bin-x86_64-1.16.0.gz::https://github.com/MetaCubeX/Clash.Meta/releases/download/v1.16.0/Clash.Meta-linux-amd64-compatible-v1.16.0.gz
- sha256sums_x86_64 = ed3bd776e2f9edb0de03430f503dfde2d0fb966b7a97904826633822733e9901
- source_arm = clash-meta-bin-arm-1.16.0.gz::https://github.com/MetaCubeX/Clash.Meta/releases/download/v1.16.0/Clash.Meta-linux-armv5-v1.16.0.gz
- sha256sums_arm = dd4e7871fbc1cec2199e4e4619de2bea339d1b4e55e8d2f46e84612b8bd2b370
- source_armv6h = clash-meta-bin-armv6h-1.16.0.gz::https://github.com/MetaCubeX/Clash.Meta/releases/download/v1.16.0/Clash.Meta-linux-armv6-v1.16.0.gz
- sha256sums_armv6h = d7e19035a662eb5dca39381c63174eb1578b9cdc056dc6fe42b432465a80f9af
- source_armv7h = clash-meta-bin-armv7h-1.16.0.gz::https://github.com/MetaCubeX/Clash.Meta/releases/download/v1.16.0/Clash.Meta-linux-armv7-v1.16.0.gz
- sha256sums_armv7h = 09c971bff85435fe18ec458a19945ad0560ffbe7fa4ff9affacc712adc2b3cef
- source_aarch64 = clash-meta-bin-aarch64-1.16.0.gz::https://github.com/MetaCubeX/Clash.Meta/releases/download/v1.16.0/Clash.Meta-linux-arm64-v1.16.0.gz
- sha256sums_aarch64 = 2976293bdcc44b428a5d902a6b493f76c197cf7f84046a7f5ee456e7103c2adf
+ source_i686 = mihomo-bin-i686-1.17.0.gz::https://github.com/MetaCubeX/mihomo/releases/download/v1.17.0/mihomo-linux-386-v1.17.0.gz
+ sha256sums_i686 = fca602884222d0856f06116e22037168a4827763441e39b7b9573f96c733df95
+ source_x86_64 = mihomo-bin-x86_64-1.17.0.gz::https://github.com/MetaCubeX/mihomo/releases/download/v1.17.0/mihomo-linux-amd64-compatible-v1.17.0.gz
+ sha256sums_x86_64 = b0136a2cb1c359f52508514d846c921434affaf3a0a22b61f4560eff4e9cb836
+ source_arm = mihomo-bin-arm-1.17.0.gz::https://github.com/MetaCubeX/mihomo/releases/download/v1.17.0/mihomo-linux-armv5-v1.17.0.gz
+ sha256sums_arm = cef6b73353c0022959212e500d6e09d143a636f4f81da490305921b015d671c4
+ source_armv6h = mihomo-bin-armv6h-1.17.0.gz::https://github.com/MetaCubeX/mihomo/releases/download/v1.17.0/mihomo-linux-armv6-v1.17.0.gz
+ sha256sums_armv6h = 356867ef03cc3099af9c4da28500f13115af6ef65516cbebb110e98a4215aa64
+ source_armv7h = mihomo-bin-armv7h-1.17.0.gz::https://github.com/MetaCubeX/mihomo/releases/download/v1.17.0/mihomo-linux-armv7-v1.17.0.gz
+ sha256sums_armv7h = 74f0e57e1e05e9a683421ee44957c948b9a16d01dad8560b6176aae8c048ea18
+ source_aarch64 = mihomo-bin-aarch64-1.17.0.gz::https://github.com/MetaCubeX/mihomo/releases/download/v1.17.0/mihomo-linux-arm64-v1.17.0.gz
+ sha256sums_aarch64 = 43dd07fe406bcbbadad0de4cb00b3083c77422f431f77aa089d4a95b59c5b42e
-pkgname = clash-meta-bin
+pkgname = mihomo-bin
diff --git a/PKGBUILD b/PKGBUILD
index d257337c33c5..c7a78b240d69 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,50 +1,50 @@
-# Maintainer: pallxk <aur@pallxk.com>
+# Maintainer: chenx_dust <chenx_dust@outlook.com>
+# Contributor: pallxk <aur@pallxk.com>
# Contributor: adiprasetya <ignilium.inc@gmail.com>
-# Contributor: chenx_dust <chenx_dust@outlook.com>
-pkgname=clash-meta-bin
-pkgver=1.16.0
-pkgrel=2
-pkgdesc="Another Clash Kernel by MetaCubeX"
+pkgname=mihomo-bin
+pkgver=1.17.0
+pkgrel=1
+pkgdesc="Binary version of mihomo."
arch=("i686" "x86_64" "arm" "armv6h" "armv7h" "aarch64")
-url="https://github.com/MetaCubeX/Clash.Meta"
+url="https://github.com/MetaCubeX/mihomo"
license=("GPL3")
groups=()
depends=("glibc")
makedepends=()
checkdepends=()
optdepends=()
-provides=("clash-meta")
-conflicts=("clash-meta")
+provides=("mihomo")
+conflicts=("mihomo")
replaces=()
-backup=("etc/clash-meta/config.yaml")
+backup=("etc/mihomo/config.yaml")
options=()
install=${pkgname}.install
changelog=
-source=("clash-meta.service"
- "clash-meta@.service"
+source=("mihomo.service"
+ "mihomo@.service"
"config.yaml")
-source_i686=("${pkgname}-i686-${pkgver}.gz::${url}/releases/download/v${pkgver}/Clash.Meta-linux-386-v${pkgver}.gz")
-source_x86_64=("${pkgname}-x86_64-${pkgver}.gz::${url}/releases/download/v${pkgver}/Clash.Meta-linux-amd64-compatible-v${pkgver}.gz")
-source_arm=("${pkgname}-arm-${pkgver}.gz::${url}/releases/download/v${pkgver}/Clash.Meta-linux-armv5-v${pkgver}.gz")
-source_armv6h=("${pkgname}-armv6h-${pkgver}.gz::${url}/releases/download/v${pkgver}/Clash.Meta-linux-armv6-v${pkgver}.gz")
-source_armv7h=("${pkgname}-armv7h-${pkgver}.gz::${url}/releases/download/v${pkgver}/Clash.Meta-linux-armv7-v${pkgver}.gz")
-source_aarch64=("${pkgname}-aarch64-${pkgver}.gz::${url}/releases/download/v${pkgver}/Clash.Meta-linux-arm64-v${pkgver}.gz")
+source_i686=("${pkgname}-i686-${pkgver}.gz::${url}/releases/download/v${pkgver}/mihomo-linux-386-v${pkgver}.gz")
+source_x86_64=("${pkgname}-x86_64-${pkgver}.gz::${url}/releases/download/v${pkgver}/mihomo-linux-amd64-compatible-v${pkgver}.gz")
+source_arm=("${pkgname}-arm-${pkgver}.gz::${url}/releases/download/v${pkgver}/mihomo-linux-armv5-v${pkgver}.gz")
+source_armv6h=("${pkgname}-armv6h-${pkgver}.gz::${url}/releases/download/v${pkgver}/mihomo-linux-armv6-v${pkgver}.gz")
+source_armv7h=("${pkgname}-armv7h-${pkgver}.gz::${url}/releases/download/v${pkgver}/mihomo-linux-armv7-v${pkgver}.gz")
+source_aarch64=("${pkgname}-aarch64-${pkgver}.gz::${url}/releases/download/v${pkgver}/mihomo-linux-arm64-v${pkgver}.gz")
-sha256sums=('9e8a28e22c159d7d70c258b65f47bc734543e54cb0cd3957ce19349aca145af8'
- '29c73ac66d6fe60bea4359ac1857e3452f26c2af792efd8dd16d558462472efb'
+sha256sums=('db3ef7a0e8ae960700ab7828a59b0ee6dd39adf36fb21728476d6040e16617d4'
+ 'c0ebad4d616980b88bab06d6b0f6c686dbe601d389112d2ea10e52e0b00def73'
'c4af03523b8006d206440163406ee9b4de1a10bb5023fb3194490b8225a5e481')
-sha256sums_i686=('edc34b297e17f6a274b734f1a47f817e5ceb3cb9e966a17466c30a62e9ba0578')
-sha256sums_x86_64=('ed3bd776e2f9edb0de03430f503dfde2d0fb966b7a97904826633822733e9901')
-sha256sums_arm=('dd4e7871fbc1cec2199e4e4619de2bea339d1b4e55e8d2f46e84612b8bd2b370')
-sha256sums_armv6h=('d7e19035a662eb5dca39381c63174eb1578b9cdc056dc6fe42b432465a80f9af')
-sha256sums_armv7h=('09c971bff85435fe18ec458a19945ad0560ffbe7fa4ff9affacc712adc2b3cef')
-sha256sums_aarch64=('2976293bdcc44b428a5d902a6b493f76c197cf7f84046a7f5ee456e7103c2adf')
+sha256sums_i686=('fca602884222d0856f06116e22037168a4827763441e39b7b9573f96c733df95')
+sha256sums_x86_64=('b0136a2cb1c359f52508514d846c921434affaf3a0a22b61f4560eff4e9cb836')
+sha256sums_arm=('cef6b73353c0022959212e500d6e09d143a636f4f81da490305921b015d671c4')
+sha256sums_armv6h=('356867ef03cc3099af9c4da28500f13115af6ef65516cbebb110e98a4215aa64')
+sha256sums_armv7h=('74f0e57e1e05e9a683421ee44957c948b9a16d01dad8560b6176aae8c048ea18')
+sha256sums_aarch64=('43dd07fe406bcbbadad0de4cb00b3083c77422f431f77aa089d4a95b59c5b42e')
package() {
cd "${srcdir}"
- install -Dm755 "${pkgname}-${CARCH}-${pkgver}" "${pkgdir}/usr/bin/clash-meta"
- install -Dm644 "config.yaml" "${pkgdir}/etc/clash-meta/config.yaml"
- install -Dm644 "clash-meta.service" "${pkgdir}/usr/lib/systemd/system/clash-meta.service"
- install -Dm644 "clash-meta@.service" "${pkgdir}/usr/lib/systemd/system/clash-meta@.service"
+ install -Dm755 "${pkgname}-${CARCH}-${pkgver}" "${pkgdir}/usr/bin/mihomo"
+ install -Dm644 "config.yaml" "${pkgdir}/etc/mihomo/config.yaml"
+ install -Dm644 "mihomo.service" "${pkgdir}/usr/lib/systemd/system/mihomo.service"
+ install -Dm644 "mihomo@.service" "${pkgdir}/usr/lib/systemd/system/mihomo@.service"
}
diff --git a/clash-meta-bin.install b/clash-meta-bin.install
deleted file mode 100644
index 2bcdf3bff98c..000000000000
--- a/clash-meta-bin.install
+++ /dev/null
@@ -1,12 +0,0 @@
-post_install(){
- post_upgrade
-}
-post_upgrade(){
- cat << EOF
- This is the core of Clash Meta by MetaCubeX forked from Clash by Dreamacro.
- You can find the manual at https://github.com/Dreamacro/clash/wiki/configuration
- Home directory clash-meta.service at /etc/clash-meta
- User home directory ~/.config/clash by default
-EOF
-
-} \ No newline at end of file
diff --git a/mihomo-bin.install b/mihomo-bin.install
new file mode 100644
index 000000000000..2af2054fa5fd
--- /dev/null
+++ b/mihomo-bin.install
@@ -0,0 +1,12 @@
+post_install(){
+ post_upgrade
+}
+post_upgrade(){
+ cat << EOF
+ This is Mihomo Kernel by MetaCubeX, formerly known as Clash.Meta.
+ You can find the manual at https://wiki.metacubex.one/
+ Home directory mihomo.service at /etc/mihomo
+ User home directory ~/.config/mihomo by default
+EOF
+
+}
diff --git a/clash-meta.service b/mihomo.service
index 6720d68ed22e..4f85302376c0 100644
--- a/clash-meta.service
+++ b/mihomo.service
@@ -1,5 +1,5 @@
[Unit]
-Description=Clash-Meta Daemon, Another Clash Kernel.
+Description=Mihomo Kernel by MetaCubeX.
After=network.target NetworkManager.service systemd-networkd.service iwd.service
[Service]
@@ -7,7 +7,7 @@ Type=exec
CapabilityBoundingSet=cap_net_admin
AmbientCapabilities=cap_net_admin
Restart=on-abort
-ExecStart=/usr/bin/clash-meta -d /etc/clash-meta
+ExecStart=/usr/bin/mihomo -d /etc/mihomo
[Install]
WantedBy=multi-user.target
diff --git a/clash-meta@.service b/mihomo@.service
index 04a35a155ab6..b67fc9abf0e0 100644
--- a/clash-meta@.service
+++ b/mihomo@.service
@@ -1,5 +1,5 @@
[Unit]
-Description=Clash-Meta Daemon, Another Clash Kernel.
+Description=Mihomo Kernel by MetaCubeX.
After=network.target NetworkManager.service systemd-networkd.service iwd.service
[Service]
@@ -8,7 +8,7 @@ User=%i
CapabilityBoundingSet=cap_net_admin
AmbientCapabilities=cap_net_admin
Restart=on-abort
-ExecStart=/usr/bin/clash-meta
+ExecStart=/usr/bin/mihomo
[Install]
WantedBy=multi-user.target