diff options
| author | Nippy <nippy@rp1.hu> | 2026-06-24 15:55:58 +0200 |
|---|---|---|
| committer | Nippy <nippy@rp1.hu> | 2026-06-24 15:55:58 +0200 |
| commit | fbc68bfd23d57cc9f04c5aa2b29be2ad64b4c97f (patch) | |
| tree | 2f494255d4d5158e9479286dd2c104c1cfc96b74 /raveos-cosmic-theme | |
| parent | ab1fe2edb947954e60bebaa3e5173ae41938416c (diff) | |
| download | RaveOS-PKGBUILD-fbc68bfd23d57cc9f04c5aa2b29be2ad64b4c97f.tar.gz RaveOS-PKGBUILD-fbc68bfd23d57cc9f04c5aa2b29be2ad64b4c97f.zip | |
AlexC javitva...
Diffstat (limited to 'raveos-cosmic-theme')
| -rw-r--r-- | raveos-cosmic-theme/PKGBUILD | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/raveos-cosmic-theme/PKGBUILD b/raveos-cosmic-theme/PKGBUILD index eb84501..bbe85ce 100644 --- a/raveos-cosmic-theme/PKGBUILD +++ b/raveos-cosmic-theme/PKGBUILD @@ -11,14 +11,18 @@ pkgname=raveos-cosmic-theme pkgver=0.0.0 -pkgrel=10 +pkgrel=11 pkgdesc="RaveOS Cosmic theme payload and installer" arch=('any') url="https://raveos.local" license=('custom') conflicts=('raveos-hyprland-theme' 'raveos-gnome-theme') -depends=('fastfetch') +depends=() + +optdepends=( + 'fastfetch: terminál üdvözlő (profile.d script indítja)' +) install="${pkgname}.install" source=() @@ -38,9 +42,13 @@ package() { "${pkgdir}/usr/share/raveos/cosmic-theme/" # SDDM téma: rendszerszintű telepítés, SDDM innen olvassa - install -dm755 "${pkgdir}/usr/share/sddm/themes" - cp -r "${startdir}/theme-data/sddm/sddm-rave-theme" \ - "${pkgdir}/usr/share/sddm/themes/sddm-rave-theme" + install -dm755 "${pkgdir}/usr/share/sddm/themes/sddm-rave-theme" + find "${startdir}/theme-data/sddm/sddm-rave-theme" -type f | while read -r f; do + rel="${f#${startdir}/theme-data/sddm/sddm-rave-theme/}" + dir=$(dirname "$rel") + install -dm755 "${pkgdir}/usr/share/sddm/themes/sddm-rave-theme/${dir}" + install -Dm644 "$f" "${pkgdir}/usr/share/sddm/themes/sddm-rave-theme/${rel}" + done # SDDM konfig: post_install/post_upgrade hook telepíti (nem itt, hogy # elkerüljük a pacman "conflicting files" hibát az unowned fájloknál) |