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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
# Maintainer: RaveOS Team
#
# raveos-plasma-theme
# -------------------
# KDE Plasma DE téma csomag: kitty, fastfetch, Plasma splash, Konsole profil,
# kickoff ikon, háttérkép, SDDM téma.
#
# Az apply script (raveos-plasma-theme-apply.service) post_install hook-ból
# fut és bemásolja a theme-data tartalmát /etc/skel-be és minden meglévő
# user home-jába.
pkgname=raveos-plasma-theme
pkgver=0.0.0
pkgrel=33
pkgdesc="RaveOS Plasma theme payload and installer"
arch=('any')
url="https://raveos.local"
license=('custom')
depends=('fastfetch')
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"
SRCPKGDEST="${startdir}/build"
LOGDEST="${startdir}/build"
package() {
# theme-data payload: kitty, fastfetch, Plasma konfig, Konsole, splash stb.
install -dm755 "${pkgdir}/usr/share/raveos/plasma-theme"
cp -r --no-preserve=ownership "${startdir}/theme-data" \
"${pkgdir}/usr/share/raveos/plasma-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"
# 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)
# apply script: post_install hook hívja
install -Dm755 "${startdir}/raveos-plasma-apply.sh" \
"${pkgdir}/usr/lib/raveos-plasma-theme/auto-apply.sh"
# first-login script: első bejelentkezéskor fut (XDG autostart)
install -Dm755 "${startdir}/raveos-plasma-first-login.sh" \
"${pkgdir}/usr/lib/raveos-plasma-theme/first-login.sh"
# systemd service (a post_install hook enable-oli)
install -Dm644 "${startdir}/raveos-plasma-theme-apply.service" \
"${pkgdir}/usr/lib/systemd/system/raveos-plasma-theme-apply.service"
# XDG autostart: first-login script indítása
install -Dm644 "${startdir}/raveos-plasma-first-login.desktop" \
"${pkgdir}/etc/xdg/autostart/raveos-plasma-first-login.desktop"
# Kickoff/rendszer ikon - globálisan is telepítve, nem csak user-szinten
install -Dm644 "${startdir}/theme-data/plasma/org.kde.plasma.kickoff.svg" \
"${pkgdir}/usr/share/pixmaps/raveos-logo.svg"
install -Dm644 "${startdir}/theme-data/plasma/org.kde.plasma.kickoff.svg" \
"${pkgdir}/usr/share/icons/hicolor/scalable/apps/raveos-logo.svg"
install -Dm644 "${startdir}/theme-data/plasma/org.kde.plasma.kickoff.svg" \
"${pkgdir}/usr/share/icons/hicolor/scalable/apps/distributor-logo-raveos.svg"
}
|