From 0b67e83e224a451fd4d1430cc9fa6ff4f1703ff4 Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Mon, 2 Jun 2025 19:37:13 +0200 Subject: [PATCH] Initial Commit --- .SRCINFO | 13 +++++++++++ .editorconfig | 12 ++++++++++ .gitignore | 5 +++++ PKGBUILD | 27 +++++++++++++++++++++++ README.md | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 118 insertions(+) create mode 100644 .SRCINFO create mode 100644 .editorconfig create mode 100644 .gitignore create mode 100644 PKGBUILD create mode 100644 README.md diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..888e7ae --- /dev/null +++ b/.SRCINFO @@ -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 diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..1166a4a --- /dev/null +++ b/.editorconfig @@ -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 \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7d4ec31 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +pkg +src +*tar.gz +*tar.zst +*tar.zst.sig \ No newline at end of file diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..352f3f2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Markus Pesch + +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 +} diff --git a/README.md b/README.md new file mode 100644 index 0000000..74f08b2 --- /dev/null +++ b/README.md @@ -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 +```