From 30c5faf1110ba1d6ee270e8cb5e63b439b019947 Mon Sep 17 00:00:00 2001 From: xengineering Date: Thu, 10 Sep 2020 19:13:56 +0200 Subject: Add Instructions to add custom Repository --- README.md | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4c69333..77a7a5f 100644 --- a/README.md +++ b/README.md @@ -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 +``` -- cgit v1.2.3-70-g09d2