nature-wallpapers-git/PKGBUILD

26 lines
695 B
Bash

# 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}"
}