summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md27
1 files changed, 26 insertions, 1 deletions
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
+```