pkgname=raveos-hyprland-theme
pkgver=0.0.0
pkgrel=28
pkgdesc="RaveOS Hyprland theme payload and installer (includes DankMaterialShell)"
arch=('any')
url="https://raveos.local"
license=('custom')
depends=('fastfetch' 'dms-shell-hyprland' 'matugen' 'socat' 'hyprshell')
install="${pkgname}.install"
source=()
sha256sums=()

BUILDDIR="${startdir}/build"
PKGDEST="${startdir}/build"
SRCDEST="${startdir}/build"
SRCPKGDEST="${startdir}/build"
LOGDEST="${startdir}/build"

package() {
  install -dm755 "${pkgdir}/usr/share/raveos/hyprland-theme"
  cp -r --no-preserve=ownership "${startdir}/theme-data" "${pkgdir}/usr/share/raveos/hyprland-theme/"

  install -Dm755 "${startdir}/raveos-hyprland-apply.sh" \
    "${pkgdir}/usr/lib/raveos-hyprland-theme/auto-apply.sh"
  install -Dm644 "${startdir}/raveos-hyprland-theme-apply.service" \
    "${pkgdir}/usr/lib/systemd/system/raveos-hyprland-theme-apply.service"
}
