summaryrefslogtreecommitdiff
path: root/README.md
blob: c8ee063540aef524e1f773d3dcadaa23b6ed34f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54


# PKGBUILDs

This is my personal collection of PKGBUILD files. They describe the packaging
process of software for Arch Linux.


## Usage

### Build and install a Package

If you just cloned this repository with ```git clone
https://github.com/xengineering/pkgbuilds.git``` you can compile and install
packages from it manually like this:

```
cd pkgbuilds/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

If you want to use my pre-compiled packages and trust me you can add my
personal repository to your installation. This will also update my packages on
your system if you upgrade with ```sudo pacman -Syu```.

**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

# Close nano editor - then this should work well:
sudo pacman -Syyu  # update repositories
sudo pacman -S <pkg from xengineering>
```