# Maintainer: Sebin Nyshkim <sebin.nyshkim@icloud.com>

pkgbase='sebin-dynamic-wallpaper'
pkgname="$pkgbase"
pkgver=1.0.2
pkgrel=2
pkgdesc="A dynamic wallpaper of Sebin that changes throughout the day"
arch=('any')
license=('unknown')
url="https://gitlab.com/SebinNyshkim/$pkgbase"
source=(
  "sebin-dyn_wallpaper1-hires.png"
  "sebin-dyn_wallpaper2-hires.png"
  "sebin-dyn_wallpaper3-hires.png"
  "sebin-dyn_wallpaper4-hires.png"
  "sebin-dyn_wallpaper5-hires.png"
  "sebin-dyn_wallpaper6-hires.png"
  "sebin-dyn_wallpaper7-hires.png"
  "sebin-timed.xml"
  "sebin.xml"
)
sha256sums=(
  "1ef8b717e320917cc846753029c1d6c7e30773631dd505639c7592d677e8b88e"
  "b9499f4b9445681d7c1db16ab94a2e37b609f8c12069e6f1c3f63bfe51b54d1b"
  "e4b6b2991743b7eabc802d47632ae506ca4d51b5a9efc631e52506b1b49a69dd"
  "19d1cd1d9034487e005f87db92ae3f51e27e5aede22d3b41296334ec959d458e"
  "4e30ccbd2d7fe416c3f8f67e4d50501fc56499b8f848edeeafd85ec848d42eda"
  "ad23720ab415072c13b8d0ee49826af88f6b5511655bc1237a26d4f489b03fdc"
  "4c43328e08324cb1e000e7f198f15b61b922429c47e04d987eb551e882e48ba9"
  "708c2e0d813803a0558b5a7ed5506aa1f2dbb0cd7f0e4344caa516c7015cd8bf"
  "a49d61bd0872fafd8e9a16c3b1d9f656dfcc56184f0ea9fa527fb41bb939a706"
)

package() {
  install -Dm644 *.png -t "$pkgdir/usr/share/backgrounds/$pkgname/"
  install -Dm644 "sebin-timed.xml" "$pkgdir/usr/share/backgrounds/$pkgname/sebin-timed.xml"
  install -Dm644 "sebin.xml" "$pkgdir/usr/share/gnome-background-properties/sebin.xml"
}
