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

pkgbase='sebin-dynamic-wallpaper'
pkgname="$pkgbase"
pkgver=1.0
pkgrel=1
arch=('any')
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=(
  "414edb33ab5c573fc14b07ac025c77964361be93a377337933a7edda9eb20fee"
  "312ed81d604116737ff186c4f8e3e00c46d157c572ce136cbc9dbed8c7a18406"
  "7e192901cd65d71b9b107ee344925c3915669c731855f87b9319e0020d4b2272"
  "c0466aeefbd475edaecb77e468f1ca62028010ba4bec9d3db02f4e1a9014620f"
  "1ed8c89cf6c545cb487eff38f54d854803d5cd7c71b218e5c08326f0bb9059b7"
  "e572160d3b867d0815567fd1b09def1bb3f87dc81f0e43f713cf1390d99965ea"
  "c87ff9781d5bea630784bf6bf35f25d1ba8d91878867f19f5ef8590da7965c06"
  "37100b15de7a8adc08f50f5535d839bd99511574680b2679a593720736164243"
  "df6bf87e8a8c769b231a103cc3677ba6b4b20f415883a524bfbfebb7236ef3a5"
)

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