Initial Commit

This commit is contained in:
Markus Pesch 2025-06-02 19:37:13 +02:00
commit 0b67e83e22
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
5 changed files with 118 additions and 0 deletions

13
.SRCINFO Normal file
View File

@ -0,0 +1,13 @@
pkgbase = mint-backgrounds-wallpapers
pkgdesc = The backgrounds included in Linux Mint 22.1 wallpapers
pkgver = 1.0
pkgrel = 1
url = http://packages.linuxmint.com/pool/main/m/mint-backgrounds-wallpapers
arch = any
license = Various
conflicts = mint-backgrounds-xia
replaces = mint-backgrounds-xia
source = http://packages.linuxmint.com/pool/main/m/mint-backgrounds-wallpapers/mint-backgrounds-wallpapers_1.0.tar.gz
sha256sums = 6059e3a28671a7d7ef385191efb056750362e3e2c45a731f130075d1adf4e302
pkgname = mint-backgrounds-wallpapers

12
.editorconfig Normal file
View File

@ -0,0 +1,12 @@
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = false

5
.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
pkg
src
*tar.gz
*tar.zst
*tar.zst.sig

27
PKGBUILD Normal file
View File

@ -0,0 +1,27 @@
# Maintainer: Markus Pesch <markus.pesch@cryptic.systems>
pkgname=mint-backgrounds-wallpapers
pkgver=1.0
pkgrel=1
pkgdesc="The backgrounds included in Linux Mint 22.1 wallpapers"
license=('Various')
arch=('any')
url="http://packages.linuxmint.com/pool/main/m/${pkgname}"
source=("${url}/${pkgname}_$pkgver.tar.gz")
sha256sums=('6059e3a28671a7d7ef385191efb056750362e3e2c45a731f130075d1adf4e302')
replaces=(
"mint-backgrounds-xia"
)
conflicts=(
"mint-backgrounds-xia"
)
package() {
mkdir --parents ${pkgdir}/usr/share/backgrounds/linuxmint-wallpapers
mkdir --parents ${pkgdir}/usr/share/{cinnamon-background-properties,gnome-background-properties,mate-background-properties}
cp --archive ${srcdir}/${pkgname}/backgrounds/linuxmint-wallpapers ${pkgdir}/usr/share/backgrounds
cp --archive ${srcdir}/${pkgname}/cinnamon-background-properties/* ${pkgdir}/usr/share/cinnamon-background-properties
cp --archive ${srcdir}/${pkgname}/gnome-background-properties/* ${pkgdir}/usr/share/gnome-background-properties
cp --archive ${srcdir}/${pkgname}/mate-background-properties/* ${pkgdir}/usr/share/mate-background-properties
}

61
README.md Normal file
View File

@ -0,0 +1,61 @@
# mint-backgrounds-wallpapers
![AUR version](https://img.shields.io/aur/version/mint-backgrounds-wallpapers?label=AUR)
![AUR votes](https://img.shields.io/aur/votes/mint-backgrounds-wallpapers)
This repository contains build files to build the Arch Linux package `mint-backgrounds-wallpapers`. 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).
## Build
Clone this repository and use `makepkg` to build the package by yourself. For example:
```bash
git clone https://aur.archlinux.org/mint-backgrounds-wallpapers.git
cd mint-backgrounds-wallpapers
makepkg
```
## Yay
The build files are also available via AUR and can be installed via an AUR helper like `yay`.
```bash
yay --sync --aur mint-backgrounds-wallpapers
```
## 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-wallpapers
```