summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5558eb2432aad2c89b8223efa9a128e4499b4779 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: Maxwell Pray <synthead@gmail.com>

pkgname=home-assistant-midnight-theme-git
pkgver=r15.6681367
pkgrel=1
pkgdesc="Midnight theme for Home Assistant"
url="https://github.com/home-assistant-community-themes/midnight"
arch=("any")
source=("git+https://github.com/home-assistant-community-themes/midnight.git")
sha256sums=("SKIP")

pkgver() {
  cd midnight
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  install -Dm 644 midnight/themes/midnight.yaml "$pkgdir/var/lib/hass/themes/midnight.yaml"
}