Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add AUR support documents #57

Merged
merged 1 commit into from
Aug 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
- [x] `Homebrew`
- [x] `Scoop`
- [ ] `Flatpak`
- [ ] `AUR`
- [x] `AUR`
- [ ] 缺乏其他平台/包维护者

<br>
Expand Down Expand Up @@ -75,6 +75,16 @@ curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-x86-windo
<details>
<summary>Linux</summary>

- 通过包管理器安装,支持持续更新。目前支持 `AUR`,其他平台欢迎[贡献](#-贡献)

```bash
# AUR
yay -S chsrc # binary from release
yay -S chsrc-git # build from source, the latest version, maybe unstable
```

- 手动下载二进制文件安装

```bash
# x64
curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-x64-linux -o chsrc; chmod +x ./chsrc
Expand All @@ -88,6 +98,7 @@ curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-riscv64-l
# armv7
curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-armv7-linux -o chsrc; chmod +x ./chsrc
```

</details>

<details>
Expand Down
11 changes: 10 additions & 1 deletion pkg/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,17 @@ https://github.com/RubyMetric/chsrc/issues/16

- [x] `Homebrew`
- [x] `Scoop`
- [ ] `AUR`
- [x] `AUR`
- [ ] `Flatpak`
- [ ] ...

```bash
$ brew install chsrc

$ scoop install chsrc

$ yay -S chsrc # binary from release
$ yay -S chsrc-git # build from source
```

<br>
Expand All @@ -24,3 +27,9 @@ https://github.com/Homebrew/homebrew-core/blob/master/Formula/c/chsrc.rb
# Scoop

https://github.com/ScoopInstaller/Main/blob/master/bucket/chsrc.json

# AUR

[chsrc](https://aur.archlinux.org/packages/chsrc-git):从release打包的稳定发布版本

[chsrc-git](https://aur.archlinux.org/packages/chsrc-git):从最新源码构建的版本,可能不稳定
1 change: 1 addition & 0 deletions src/chsrc.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
* | Shengwei Chen <414685209@qq.com>
* | BlockLune <blocklune@gmail.com>
* | Mr. Will <mr.will.com@outlook.com>
* | Terrasse <terrasse@qq.com>
* |
* Created On : <2023-08-28>
* Last Modified : <2024-08-29>
Expand Down