diff options
author | xengineering <mail2xengineering@protonmail.com> | 2020-09-10 19:13:56 +0200 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2020-09-10 19:13:56 +0200 |
commit | 30c5faf1110ba1d6ee270e8cb5e63b439b019947 (patch) | |
tree | 17e50d748bfd9009354a0ba045c61ff392a2154c | |
parent | 5ba80a8b61d192abc8b2a955716bd0513852f7e5 (diff) | |
download | pkgbuilds-30c5faf1110ba1d6ee270e8cb5e63b439b019947.tar pkgbuilds-30c5faf1110ba1d6ee270e8cb5e63b439b019947.tar.zst pkgbuilds-30c5faf1110ba1d6ee270e8cb5e63b439b019947.zip |
Add Instructions to add custom Repository
-rw-r--r-- | README.md | 27 |
1 files changed, 26 insertions, 1 deletions
@@ -7,5 +7,30 @@ This is my personal collection of PKGBUILD files. They describe the packaging pr ## Usage -To create an Arch Linux package from one of the PKGBUILDs you just have to go to the same folder and run ```makepkg```. This works just on Arch Linux. +### Build and install a Package + +``` +cd xengineering-base-meta # you can select any other project +makepkg # builds the package +sudo pacman -U *.pkg.tar.zst # installs the package +``` + +### Add xengineering's Repository to your Arch Linux Installation + +**Disclaimer:** This adds my PGP key to your pacman key ring! Thus your Arch Linux installation will accept any package signed by me (so you have to trust me). + +``` +# Add PGP key +curl https://xengineering.eu/xengineering.asc > xengineering.asc +sudo pacman-key --add xengineering.asc # add key to pacman key ring +sudo pacman-key --finger xengineering # make sure that the fingerprint is A13B 2588 7878 7F94 3F6C 68F0 0FD1 F842 33FA 8900 +sudo pacman-key --lsign-key xengineering # trust this key for package installation + +# Add repository +sudo nano /etc/pacman.conf + +# Append this text: +[xengineering] +Server = https://xengineering.eu/archlinux/repositories/xengineering/os/$arch +``` |