惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

美团技术团队
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Martin Fowler
Martin Fowler
雷峰网
雷峰网
IT之家
IT之家
小众软件
小众软件
M
MIT News - Artificial intelligence
博客园 - 聂微东
J
Java Code Geeks
Blog — PlanetScale
Blog — PlanetScale
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
A
About on SuperTechFans
G
Google Developers Blog
Engineering at Meta
Engineering at Meta
Recent Announcements
Recent Announcements
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
The GitHub Blog
The GitHub Blog
F
Fortinet All Blogs
C
Check Point Blog
云风的 BLOG
云风的 BLOG
腾讯CDC
H
Help Net Security
Y
Y Combinator Blog
I
InfoQ

AUR Newest Packages

AUR (en) - linuxqq-clipsync-git AUR (en) - libtslitex-git AUR (en) - libtslitex-git AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - vigil-baseline AUR (en) - byedroid AUR (en) - neovim-base16-git AUR (en) - pirata AUR (en) - rpi-imager-git-non-root AUR (en) - python-fastapi-sso AUR (en) - tmux-ai-titles AUR (en) - zeed-bin AUR (en) - bclone-bin AUR (en) - dwl-git-azerty AUR (en) - auggie-bin AUR (en) - libspatialaudio-git AUR (en) - libspatialaudio AUR (en) - miniupnpd-iptables-legacy AUR (en) - miniupnpd-nft AUR (en) - jeeves-bin AUR (en) - opennow AUR (en) - rotki AUR (en) - kapi-bin AUR (en) - classfi-bin AUR (en) - classfi-git AUR (en) - classfi AUR (en) - giff-git AUR (en) - budget-tracker-bin
AUR (en) - clash-nyanpasu-git
2026-06-13 · via AUR Newest Packages

Latest Comments

Kimiblock commented on 2024-04-25 15:58 (UTC)

@TinyPower Thanks. Please test the new PKGBUILD

TinyPower commented on 2024-04-25 15:29 (UTC)

a632079 commented on 2024-02-14 17:42 (UTC) (edited on 2024-02-14 17:43 (UTC) by a632079)

Hello,

I wanted to inform you that the development branch has been updated to main. Additionally, to bump the version of the development build, it's now necessary to run pnpm prepare:nightly.

Furthermore, yarn is no longer a required dependency and can be safely removed.

Lastly, could you please clarify the process for updating this package after commits are pushed?

Thank you.

Kimiblock commented on 2024-02-13 13:43 (UTC)

  • mihomo is clash-meta
  • clash-meta is in the archlinuxcn repo

wustdsh commented on 2024-02-13 09:13 (UTC) (edited on 2024-02-13 09:13 (UTC) by wustdsh)

Why not just use mihomo as dependency

heddxh commented on 2023-12-20 02:47 (UTC) (edited on 2023-12-20 02:47 (UTC) by heddxh)

Should add pnpm as make dependency?

Kimiblock commented on 2023-12-17 06:42 (UTC)

Upstream changed clash-meta executable to mihomo. In order to fix this package, clash-meta-is-mihomo is now added as a dependency.

Please note that this package and clash-meta-is-mihomo is not compatible with the mihomo package at all.

detian commented on 2023-11-30 13:06 (UTC)

PKGBUILD suggestion

pkgname=clash-nyanpasu-git
_pkgname=clash-nyanpasu
pkgver=r1102.4015cb3
pkgrel=1
pkgdesc="A Clash GUI based on tauri."
arch=('x86_64' 'aarch64')
url="https://github.com/keiko233/clash-nyanpasu"
license=('GPL3')
depends=('webkit2gtk' 'clash-geoip' 'libayatana-appindicator')
optdepends=(
    'clash-meta: use Clash core'
    'clash-meta: use Clash.Meta core'
    'clash-rs: use ClashRT core')
makedepends=('pnpm' 'cargo-tauri' 'jq' 'moreutils' 'rust' 'quickjs')
source=("git+https://github.com/keiko233/clash-nyanpasu.git#branch=dev"
    "${_pkgname}.desktop"
)
provides=(clash-nyanpasu-git clash-nyanpasu)
conflicts=(clash-nyanpasu)

sha512sums=('SKIP' 'SKIP')
options=(!lto)

function pkgver() {
    cd "${srcdir}/clash-nyanpasu"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
function prepare(){
    system_clashpath=$(which clash || which clash-meta || which clash-rs || false)

    if [[ -z $system_clashpath ]]; then
        echo no any of clash found, you need install at least one of "clash" "clash-meta" "clash-rs", aborting...
        exit 1
    fi

    cd "${srcdir}/clash-nyanpasu"

    install -d src-tauri/sidecar
    ln -sf "$system_clashpath" "src-tauri/sidecar/clash-${CARCH}-unknown-linux-gnu"
    ln -sf "$system_clashpath" "src-tauri/sidecar/clash-meta-${CARCH}-unknown-linux-gnu"
    ln -sf "$system_clashpath" "src-tauri/sidecar/clash-rs-${CARCH}-unknown-linux-gnu"

    install -d src-tauri/resources
    ln -sf /etc/clash/Country.mmdb src-tauri/resources/Country.mmdb
    jq 'del(.scripts.prepare)' package.json|sponge package.json

    cd src-tauri
    # only build the excutable
    jq '.tauri.bundle.active = false' tauri.conf.json|sponge tauri.conf.json
    # disable updater
    jq '.tauri.updater.active = false' tauri.conf.json|sponge tauri.conf.json
}

function build(){
    cd "${srcdir}/clash-nyanpasu"
    # export HOME=$srcdir
    export RUSTFLAGS="-L /usr/lib/quickjs"
    pnpm install
    pnpm run check
    cargo-tauri build
}
package(){
    cd "${srcdir}/clash-nyanpasu"
    install -Dm755 "src-tauri/target/release/${_pkgname}" -t "${pkgdir}/usr/bin"

    install -d "${pkgdir}/usr/lib/${_pkgname}/resources"
    ln -sf /etc/clash/Country.mmdb -t "${pkgdir}/usr/lib/${_pkgname}/resources"

    install -Dm644 src/assets/image/logo.svg "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${_pkgname}.svg"

    install -Dm644 "${srcdir}/${_pkgname}.desktop" -t "${pkgdir}/usr/share/applications"

}