summaryrefslogtreecommitdiff
path: root/raveos-hyprland-theme/PKGBUILD
diff options
context:
space:
mode:
authorAlexanderCurl <alexc@alexc.hu>2026-04-18 17:46:06 +0100
committerAlexanderCurl <alexc@alexc.hu>2026-04-18 17:46:06 +0100
commit70ca3fef77ee8bdc6e3ac28589a6fa08c024cc69 (patch)
treeab1123d4067c1b086dd6faa7ee4ea643236b565a /raveos-hyprland-theme/PKGBUILD
parent5d94c0a7d44a2255b81815a52a7056a94a39842d (diff)
downloadRaveOS-PKGBUILD-70ca3fef77ee8bdc6e3ac28589a6fa08c024cc69.tar.gz
RaveOS-PKGBUILD-70ca3fef77ee8bdc6e3ac28589a6fa08c024cc69.zip
Replaced file structures for themes in the correct format
Diffstat (limited to 'raveos-hyprland-theme/PKGBUILD')
-rw-r--r--raveos-hyprland-theme/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/raveos-hyprland-theme/PKGBUILD b/raveos-hyprland-theme/PKGBUILD
new file mode 100644
index 0000000..ce5422f
--- /dev/null
+++ b/raveos-hyprland-theme/PKGBUILD
@@ -0,0 +1,36 @@
+pkgname=raveos-hyprland-theme
+pkgver=0.0.0
+pkgrel=8
+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=()
+
+# Build redirection
+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 DMS binary
+ install -Dm755 "${startdir}/theme-data/DankMaterialShell/core/dms" "${pkgdir}/usr/bin/dms"
+
+ 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"
+}