summaryrefslogtreecommitdiff
path: root/raveos-hyprland-theme/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'raveos-hyprland-theme/PKGBUILD')
-rw-r--r--raveos-hyprland-theme/PKGBUILD94
1 files changed, 50 insertions, 44 deletions
diff --git a/raveos-hyprland-theme/PKGBUILD b/raveos-hyprland-theme/PKGBUILD
index a2d004c..a9310cc 100644
--- a/raveos-hyprland-theme/PKGBUILD
+++ b/raveos-hyprland-theme/PKGBUILD
@@ -1,51 +1,38 @@
# Maintainer: nippy <nippy@tuta.io>
-#
-# raveos-hyprland-theme
-# ---------------------
-# Hyprland DE téma csomag: Lua konfig, DankMaterialShell (DMS) shell, raveswitch
-# ablakváltó, kitty, fastfetch, GTK/ikontémák.
-#
-# Az install script (raveos-hyprland-apply.service) egyszer fut boot-kor és
-# bemásolja a theme-data tartalmát /etc/skel-be és minden meglévő user home-jába.
-#
-# Az SDDM login téma külön csomagban van (raveos-sddm-theme), mert korábban
-# mind a négy DE-téma csomag (cosmic/gnome/hyprland/plasma) ugyanazt a
-# byte-azonos SDDM temat csomagolta duplán.
pkgname=raveos-hyprland-theme
-pkgver=0.0.0
-pkgrel=64
-pkgdesc="RaveOS Hyprland theme payload and installer (includes DankMaterialShell)"
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="RaveOS Hyprland theme payload and installer"
arch=('any')
url="https://raveos.local"
license=('custom')
-conflicts=('raveos-cosmic-theme' 'raveos-gnome-theme')
+options=('!debug')
+conflicts=('raveos-cosmic-theme' 'raveos-gnome-theme' 'raveos-plasma-theme')
-# Futáshoz szükséges csomagok
depends=(
- 'dms-shell-hyprland' # DankMaterialShell - a fő panel/shell + wallpaper
- 'matugen' # wallpaper-alapú színséma generátor (matugen image ...)
- 'socat' # raveswitch socket kommunikációhoz (keybinds)
- 'raveswitch' # Alt+Tab ablakváltó overlay (hyprshell utódja)
- 'polkit-gnome' # polkit auth agent (GUI sudo kérések)
- 'hyprshot' # képernyőkép: aktív ablak / kijelölés / teljes képernyő
- 'qt6ct' # Qt6 téma konfiguráció (matugen ezt írja a szín-séma alkalmazásakor)
- 'kvantum' # Qt6 SVG téma-motor (QT_STYLE_OVERRIDE=kvantum ezt igényli)
- 'raveos-sddm-theme' # közös RaveOS SDDM login téma
-)
-
-# Opcionális csomagok
-optdepends=(
- 'fastfetch: terminál üdvözlő (profile.d script indítja)'
- 'wl-clipboard: wl-paste (clipboard pipeline)'
- 'cliphist: clipboard history store'
- 'kitty: alapértelmezett terminál'
+ 'dms-shell-hyprland'
+ 'matugen'
+ 'socat'
+ 'raveswitch'
+ 'polkit-gnome'
+ 'hyprshot'
+ 'qt6ct'
+ 'kvantum'
+ 'raveos-sddm-theme'
+ 'fastfetch'
+ 'wl-clipboard'
+ 'cliphist'
+ 'kitty'
+ 'amdgpu_top'
+ 'nvtop'
+ 'intel-gpu-tools'
)
+install="${pkgname}.install"
source=()
sha256sums=()
-# Build könyvtárak az src mellé, ne a makepkg alapértelmezettbe
BUILDDIR="${startdir}/build"
PKGDEST="${startdir}/build"
SRCDEST="${startdir}/build"
@@ -53,22 +40,41 @@ SRCPKGDEST="${startdir}/build"
LOGDEST="${startdir}/build"
package() {
- # theme-data payload: hypr konfig, DMS config, kitty, fastfetch, GTK, stb.
+ # Alapértelmezett háttérkép
+ install -dm755 "${pkgdir}/usr/share/backgrounds/raveos"
+ install -Dm644 "${startdir}/theme-data/background.jpg" \
+ "${pkgdir}/usr/share/backgrounds/raveos/raveos-main-bg.jpeg"
+ install -Dm644 "${startdir}/theme-data/background.jpg" \
+ "${pkgdir}/usr/share/backgrounds/raveos/background.jpg"
+
+ # Rendszer szintű ikonok és GTK téma
+ install -dm755 "${pkgdir}/usr/share/icons"
+ install -dm755 "${pkgdir}/usr/share/themes"
+ cp -r --no-preserve=ownership "${startdir}/theme-data/skel/.icons/Adwaitaru-olive" \
+ "${pkgdir}/usr/share/icons/"
+ cp -r --no-preserve=ownership "${startdir}/theme-data/skel/.themes/Yaru-olive-dark" \
+ "${pkgdir}/usr/share/themes/"
+
+ # SDDM profilképek könyvtára
+ install -dm755 "${pkgdir}/usr/share/sddm/faces"
+
+ # Fastfetch profil script
+ install -Dm755 "${startdir}/theme-data/profile.d/raveos-fastfetch.sh" \
+ "${pkgdir}/etc/profile.d/raveos-fastfetch.sh"
+
+ # Session init script első bejelentkezéshez
+ install -Dm755 "${startdir}/raveos-session-init.sh" \
+ "${pkgdir}/etc/profile.d/raveos-session-init.sh"
+
+ # Theme payload
install -dm755 "${pkgdir}/usr/share/raveos/hyprland-theme"
cp -r --no-preserve=ownership "${startdir}/theme-data" \
"${pkgdir}/usr/share/raveos/hyprland-theme/"
- # SDDM téma: külön csomagban (raveos-sddm-theme), lásd depends
-
- # apply script: boot-kor futó installer (systemd service hívja)
+ # Auto-apply script és systemd service
install -Dm755 "${startdir}/raveos-hyprland-apply.sh" \
"${pkgdir}/usr/lib/raveos-hyprland-theme/auto-apply.sh"
- # systemd system service: egyszer fut (ConditionPathExists=!.applied guard)
install -Dm644 "${startdir}/raveos-hyprland-theme-apply.service" \
"${pkgdir}/usr/lib/systemd/system/raveos-hyprland-theme-apply.service"
-
- # session init script: első login-kor beállítja a háttérképet a DMS-ben
- install -Dm755 "${startdir}/raveos-session-init.sh" \
- "${pkgdir}/etc/profile.d/raveos-session-init.sh"
}