diff options
author | Markus Pesch | 2023-12-02 16:01:38 +0100 |
---|---|---|
committer | Markus Pesch | 2023-12-02 16:01:38 +0100 |
commit | c313d42b8770620256c9b42cfdcbb3aa6ae7dae5 (patch) | |
tree | 7257ece3e306b1a1476991d503043abb211b186e /README.md | |
parent | f1ef8eeadfa14a54fb2345b97be24def0df63295 (diff) | |
download | aur-c313d42b8770620256c9b42cfdcbb3aa6ae7dae5.tar.gz |
fix(ci): init
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 65 |
1 files changed, 46 insertions, 19 deletions
diff --git a/README.md b/README.md index 5aa65016394f..7b77cfb65e31 100644 --- a/README.md +++ b/README.md @@ -1,35 +1,62 @@ # mint-backgrounds -[![https://img.shields.io/aur/version/mint-backgrounds](https://img.shields.io/aur/version/mint-backgrounds)](https://aur.archlinux.org/packages/mint-backgrounds) -[![https://img.shields.io/aur/license/mint-backgrounds](https://img.shields.io/aur/license/mint-backgrounds)](https://aur.archlinux.org/packages/mint-backgrounds) -[![https://img.shields.io/aur/maintainer/mint-backgrounds](https://img.shields.io/aur/maintainer/mint-backgrounds)](https://aur.archlinux.org/packages/mint-backgrounds) -[![https://img.shields.io/aur/last-modified/mint-backgrounds](https://img.shields.io/aur/last-modified/mint-backgrounds)](https://aur.archlinux.org/packages/mint-backgrounds) +![AUR version](https://img.shields.io/aur/version/mint-backgrounds?label=AUR) [![Build Status](https://drone.cryptic.systems/api/badges/volker.raschek/mint-backgrounds-pkg/status.svg)](https://drone.cryptic.systems/volker.raschek/mint-backgrounds-pkg) +![AUR votes](https://img.shields.io/aur/votes/mint-backgrounds) -This repository contains the source code to build the Arch Linux package -`mint-backgrounds`. +This repository contains build files to build the Arch Linux package `mint-backgrounds`. Instead of building the +package yourself, it can also be obtained from the following private repository. More detailed are described +[here](#obtaining-pre-built-packages-from-a-repository). -The package can be created and installed locally via `makepkg`. Alternatively, -it can be installed from the -[AUR](https://aur.archlinux.org/packages/mint-backgrounds) using an AUR helper -such as `yay`. +## Build -## makepkg - -Clone the repository from one of the mirrors and move into the cloned git -repository. Execute `makepkg --install` to build the and install the package. +Clone this repository and use `makepkg` to build the package by yourself. For example: ```bash -git clone <URL> +git clone https://aur.archlinux.org/mint-backgrounds.git cd mint-backgrounds -makepkg --install +makepkg ``` -## yay +## Yay -Make sure that yay is installed. Run yay to build and install the -mint-backgrounds package. +The build files are also available via AUR and can be installed via an AUR helper like `yay`. ```bash yay --sync --aur mint-backgrounds ``` + +## Obtaining pre-built packages from a repository + +Instead of building the packages locally, it is also possible to configure an additional repository to install the +package directly via `pacman`. The following commands are used to create the repository, configure the GPG key to verify +the packages and install the package: + +```bash +# Create drop-in directory +sudo mkdir --parents /etc/pacman.d/repos + +# Create configuration of the repository 'volker.raschek' +sudo tee /etc/pacman.d/repos/volker.raschek.conf > /dev/null <<'EOF' +[volker.raschek] +SigLevel = PackageRequired TrustedOnly +Include = /etc/pacman.d/repos/volker.raschek.list +EOF + +# Create mirror list of the repository 'volker.raschek' +sudo tee /etc/pacman.d/repos/volker.raschek.list > /dev/null <<'EOF' +Server = https://aur.cryptic.systems/$repo/$arch +EOF + +# Import gpg key of the repository 'volker.raschek' +sudo pacman-key --keyserver hkps://keys.openpgp.org --recv-keys 9B146D11A9ED6CA7E279EB1A852BCC170D81A982 + +# Extend existing pacman configuration of the repository 'volker.raschek' +sudo echo "Include = /etc/pacman.d/repos/*.conf" >> /etc/pacman.conf + +# Update pacman cache +sudo pacman --sync --refresh + +# Install the package and receive updates directly via pacman :) +sudo pacman --sync mint-backgrounds +``` |