archlinux/README.md
2022-08-15 00:32:48 +00:00

95 lines
3.3 KiB
Markdown

## Arch Linux
Some configurations and PKGBUILD shits here.
## Get Started
Import GPG Key:
```sh
sudo pacman-key --recv-keys 29A7777777777777
```
or manually import it:
```sh
wget -O /tmp/m.ac.asc https://repo.m.ac/B1F6E658B6A3DC2A2E30A09D29A7777777777777-public.asc
sudo pacman-key --add /tmp/m.ac.asc
```
Verify the fingerprint:
```sh
pacman-key --finger 29A7777777777777
```
You may get the same result:
```sh
$ pacman-key --finger 29A7777777777777
gpg: Note: trustdb not writable
pub ed25519 2022-05-30 [SC]
B1F6 E658 B6A3 DC2A 2E30 A09D 29A7 7777 7777 7777
uid [ unknown] Xiufeng Guo <i@m.ac>
sub cv25519 2022-05-30 [E]
```
Finally, you must locally sign the imported key:
```sh
sudo pacman-key --lsign-key 29A7777777777777
```
Now, verify again:
```sh
$ pacman-key --finger 29A7777777777777
gpg: Note: trustdb not writable
pub ed25519 2022-05-30 [SC]
B1F6 E658 B6A3 DC2A 2E30 A09D 29A7 7777 7777 7777
uid [ full ] Xiufeng Guo <i@m.ac>
sub cv25519 2022-05-30 [E]
```
Then add `m.ac` repo URL `https://repo.m.ac/archlinux/$arch` to `/etc/pacman.conf`:
```sh
sudo tee -a /etc/pacman.conf > /dev/null <<EOF
[m.ac]
Server = https://repo.m.ac/archlinux/\$arch
EOF
```
Update System:
```sh
sudo pacman -Su
```
Now you can install packages.
## Packages
I mainly maintain some out-of-date packages from AUR or binaries built on my own PC to save a lot of time shits.
Here is the list:
| Name | AUR PKGBUILD | My PKGBUILD | Source |
| ------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------- |
| synergy1-bin | https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=synergy1-bin | https://git.m.ac/showfom/archlinux/src/branch/main/repo/synergy1-bin/PKGBUILD | [GitHub](https://github.com/symless/synergy-core) |
| nali-go-bin | https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=nali-go-bin | https://git.m.ac/showfom/archlinux/src/branch/main/repo/nali-go-bin/PKGBUILD | [GitHub](https://github.com/zu1k/nali) |
| vanity_gpg | https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=vanity_gpg | https://git.m.ac/showfom/archlinux/src/branch/main/repo/vanity_gpg/PKGBUILD | [GitHub](https://github.com/RedL0tus/VanityGPG) |
| otf-openmoji | https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=otf-openmoji | https://git.m.ac/showfom/archlinux/src/branch/main/repo/otf-openmoji/PKGBUILD | [GitHub](https://github.com/hfg-gmuend/openmoji) |
| noto-fonts-sc | https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=noto-fonts-sc | https://git.m.ac/showfom/archlinux/src/branch/main/repo/noto-fonts-sc/PKGBUILD | [GitHub](https://github.com/googlefonts/noto-cjk) |
| speedtest | https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=ookla-speedtest-bin | https://git.m.ac/showfom/archlinux/src/branch/main/repo/speedtest/PKGBUILD | [Source](https://www.speedtest.net/apps/cli) |
## License
[GLWTPLS](https://git.m.ac/showfom/archlinux/src/branch/main/LICENSE)
## Terms
```
No Warranty. The Software is being delivered to you “AS IS” and with ALL FAULTS.
```