This commit is contained in:
LordMZTE 2022-12-22 14:41:13 +01:00
commit c9b21acd22
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6
3 changed files with 42 additions and 0 deletions

13
.SRCINFO Normal file
View file

@ -0,0 +1,13 @@
pkgbase = nature-wallpapers-git
pkgdesc = Collection of nature wallpapers
pkgver = r1.7600623
pkgrel = 1
url = https://mzte.de/git/LordMZTE/nature-wallpapers
arch = any
license = unknown
provides = nature-wallpapers
conflicts = nature-wallpapers
source = git+https://mzte.de/git/LordMZTE/nature-wallpapers.git
sha256sums = SKIP
pkgname = nature-wallpapers-git

4
.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
nature-wallpapers/
pkg/
src/
*.zst

25
PKGBUILD Normal file
View file

@ -0,0 +1,25 @@
# Maintainer: LordMZTE <lord@mzte.de>
_pkgname=nature-wallpapers
pkgname="${_pkgname}-git"
pkgver=r1.7600623
pkgrel=1
pkgdesc="Collection of nature wallpapers"
provides=("nature-wallpapers")
conflicts=("nature-wallpapers")
arch=("any")
url="https://mzte.de/git/LordMZTE/nature-wallpapers"
license=("unknown")
source=("git+https://mzte.de/git/LordMZTE/nature-wallpapers.git")
sha256sums=('SKIP')
pkgver() {
cd "${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${srcdir}/${_pkgname}"
install -d "${pkgdir}/usr/share/backgrounds/${_pkgname}/"
install -m644 wallpapers/* "${pkgdir}/usr/share/backgrounds/${_pkgname}"
}