blob: 80b3337c02e6e87c2530dd1cddb025eeb7fe7f0c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
pkgname=raveos-hyprland-theme
pkgver=0.0.0
pkgrel=15
pkgdesc="RaveOS Hyprland theme payload and installer (includes DankMaterialShell)"
arch=('any')
url="https://raveos.local"
license=('custom')
depends=('fastfetch' 'quickshell' 'go' 'matugen' 'socat')
install="${pkgname}.install"
source=()
sha256sums=()
BUILDDIR="${startdir}/build"
PKGDEST="${startdir}/build"
SRCDEST="${startdir}/build"
SRCPKGDEST="${startdir}/build"
LOGDEST="${startdir}/build"
build() {
cd "${startdir}/theme-data/DankMaterialShell/core"
go build -o dms ./cmd/dms/
}
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"
}
|