Skip to content

Commit 69f6b57

Browse files
authored
Merge pull request #9 from taotieren/AUR
Add serialtest packaging and AUR installation
2 parents 50c2ca7 + a6a18b6 commit 69f6b57

5 files changed

+67
-0
lines changed

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -217,5 +217,16 @@ make -j4 && make clean
217217
./SerialTest
218218
```
219219

220+
## Install from the Linux software repository
221+
222+
### Arch Linux
223+
```bash
224+
# Install the release
225+
yay -S serialtest
226+
227+
# Install the development version
228+
yay -S serialtest-git
229+
```
230+
220231
## Change Log
221232
[Change Log](CHANGELOG.md)

doc/README/README_zh_CN.md

+11
Original file line numberDiff line numberDiff line change
@@ -217,5 +217,16 @@ make -j4 && make clean
217217
./SerialTest
218218
```
219219

220+
## 通过 Linux 软件仓库安装
221+
222+
### Arch Linux
223+
```bash
224+
# 安装发行版
225+
yay -S serialtest
226+
227+
# 安装开发版
228+
yay -S serialtest-git
229+
```
230+
220231
## 更新日志
221232
[更新日志](../CHANGELOG/CHANGELOG_zh_CN.md)

pack/aur/README.md

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Packing instructions | 打包说明
2+
3+
`pack/aur` instructions for the use of packaged files | 打包文件使用说明
4+
5+
```bash
6+
./
7+
├── io.github.wh201906.serialtest.desktop
8+
└── io.github.wh201906.serialtest.metainfo.xml
9+
10+
```
11+
12+
```io.github.wh201906.serialtest.desktop``` is the desktop entry file | 桌面应用程序配置项
13+
eg: ```/usr/share/applications/io.github.wh201906.serialtest.desktop```
14+
15+
```io.github.wh201906.serialtest.metainfo.xml``` is the package metainfo file | 软件包描述文件
16+
eg: ```/usr/share/metainfo/io.github.wh201906.serialtest.metainfo.xml```
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[Desktop Entry]
2+
Version=1.0
3+
Type=Application
4+
5+
Name=SerialTest
6+
Comment=SerialTest
7+
Categories=Development;Electronics;
8+
9+
Icon=serialtest
10+
Exec=serialtest
11+
Terminal=false
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<component type="desktop-application">
3+
<id>io.github.wh201906.serialtest</id>
4+
5+
<name>SerialTest</name>
6+
<summary>SerialTest</summary>
7+
8+
<metadata_license>MIT</metadata_license>
9+
<project_license>LGPL-3.0-only</project_license>
10+
11+
<description>
12+
<p>
13+
A cross-platform serial port test tool.
14+
</p>
15+
</description>
16+
17+
<launchable type="desktop-id">io.github.wh201906.serialtest.desktop</launchable>
18+
</component>

0 commit comments

Comments
 (0)