archlinux/README.md

95 lines
3.3 KiB
Markdown
Raw Permalink Normal View History

2022-06-29 22:39:36 +00:00
## Arch Linux
2022-06-29 21:01:38 +00:00
2022-06-29 22:39:36 +00:00
Some configurations and PKGBUILD shits here.
2022-06-30 17:02:32 +00:00
## Get Started
2022-06-29 22:39:36 +00:00
2022-06-30 17:02:32 +00:00
Import GPG Key:
2022-06-29 22:39:36 +00:00
2022-07-03 12:57:47 +00:00
```sh
sudo pacman-key --recv-keys 29A7777777777777
```
or manually import it:
2022-06-30 17:02:32 +00:00
```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]
```
2022-07-03 12:54:48 +00:00
Then add `m.ac` repo URL `https://repo.m.ac/archlinux/$arch` to `/etc/pacman.conf`:
2022-06-30 17:02:32 +00:00
```sh
sudo tee -a /etc/pacman.conf > /dev/null <<EOF
[m.ac]
2022-07-03 12:54:17 +00:00
Server = https://repo.m.ac/archlinux/\$arch
2022-06-30 17:02:32 +00:00
EOF
```
Update System:
```sh
2022-12-22 17:43:30 +00:00
sudo pacman -Syu
2022-06-30 17:02:32 +00:00
```
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:
2022-06-30 19:00:31 +00:00
| 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) |
2022-08-14 09:24:08 +00:00
| 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) |
2022-08-15 00:32:48 +00:00
| 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) |
2022-06-30 17:02:32 +00:00
## License
2022-07-07 01:48:42 +00:00
[GLWTPLS](https://git.m.ac/showfom/archlinux/src/branch/main/LICENSE)
2022-06-29 22:39:36 +00:00
## Terms
```
No Warranty. The Software is being delivered to you “AS IS” and with ALL FAULTS.
```