# Maintainer: Daniel Langbein <daniel@systemli.org>
_pkgname=wallpaper
_reponame=arch
pkgname="de-p1st-$_pkgname"
pkgver=0.0.2
pkgrel=1
pkgdesc="high resolution wallpaper from unsplash"
arch=('any')
url="https://codeberg.org/privacy1st/${_reponame}"
license=('MIT')
makedepends=('git')  # to fetch source(s) via git
source=("git+${url}.git")
sha256sums=('SKIP') # 'SKIP' for git sources; Otherwise: autofill using updpkgsums, see https://man.archlinux.org/man/updpkgsums.8.en

package() {
  cd "${_reponame}/pkg/${pkgname}"

  install -Dm0644 wallpaper.jpg    "$pkgdir"/usr/share/backgrounds/de-p1st.jpg
}
