Add usage instructions
This commit is contained in:
36
README.md
36
README.md
@ -2,6 +2,41 @@
|
||||
|
||||
Below are archlinux packages from AUR or official archlinux repo with some new feature updates and upgrade to latest version
|
||||
|
||||
### Usage
|
||||
|
||||
Add repo to `pacman.conf`
|
||||
|
||||
```bash
|
||||
sed -i "/[[]custom[]]/r /dev/fd/5" /etc/pacman.conf 5<<'CLIP'
|
||||
[balki-aur]
|
||||
SigLevel = Required
|
||||
Server = https://gitea.balki.me/api/packages/balki-aur/arch/balki-aur/$arch
|
||||
CLIP
|
||||
```
|
||||
Add repo key to pacman
|
||||
|
||||
```bash
|
||||
curl -s "https://gitea.balki.me/api/packages/balki-aur/arch/repository.key" | pacman-key --add -
|
||||
```
|
||||
|
||||
Get the key id of the added key. (the last one)
|
||||
```
|
||||
pacman-key -l | tail
|
||||
```
|
||||
|
||||
Sign the key
|
||||
|
||||
```bash
|
||||
pacman-key --init
|
||||
pacman-key --lsign-key LAST_KEY_ID_FROM_PREVIOUS_OUTPUT
|
||||
```
|
||||
|
||||
All apps from [here][21], can be installed using pacman. E.g.
|
||||
|
||||
```bash
|
||||
pacman -Syu phanpy-bin
|
||||
```
|
||||
|
||||
#### Common changes
|
||||
|
||||
1. pkgrel starts with `11`. Last digit corresponds to upstream pkgrel and tenth place is for my pkgrel.
|
||||
@ -103,3 +138,4 @@ AUR packages is orphaned
|
||||
[18]: https://gitea.balki.me/balki-aur/genson
|
||||
[19]: https://aur.archlinux.org/packages/python-genson
|
||||
[20]: https://github.com/wolverdude/genson
|
||||
[21]: https://gitea.balki.me/balki-aur/-/packages
|
||||
|
Reference in New Issue
Block a user