blob: 163fdb1db5e217be254f120a2fc8963c55c06fdd (
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
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
|
# Maintainer: RaveOS Team
#
# raveos-cosmic-theme
# -------------------
# COSMIC DE téma csomag: kitty, fastfetch, COSMIC terminal konfig,
# háttérkép.
#
# Az apply script (raveos-cosmic-theme-apply.service) boot-kor fut é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-cosmic-theme
pkgver=0.0.0
pkgrel=12
pkgdesc="RaveOS Cosmic theme payload and installer"
arch=('any')
url="https://raveos.local"
license=('custom')
conflicts=('raveos-hyprland-theme' 'raveos-gnome-theme')
depends=('raveos-sddm-theme')
optdepends=(
'fastfetch: terminál üdvözlő (profile.d script indítja)'
)
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, COSMIC konfig stb.
install -dm755 "${pkgdir}/usr/share/raveos/cosmic-theme"
cp -r --no-preserve=ownership "${startdir}/theme-data" \
"${pkgdir}/usr/share/raveos/cosmic-theme/"
# SDDM téma: külön csomagban (raveos-sddm-theme), lásd depends
# apply script: boot-kor futó installer (systemd service hívja)
install -Dm755 "${startdir}/raveos-cosmic-apply.sh" \
"${pkgdir}/usr/lib/raveos-cosmic-theme/auto-apply.sh"
# first-login script: első bejelentkezéskor fut (XDG autostart)
install -Dm755 "${startdir}/raveos-cosmic-first-login.sh" \
"${pkgdir}/usr/lib/raveos-cosmic-theme/first-login.sh"
# systemd service: egyszer fut (ConditionPathExists=!.applied guard)
install -Dm644 "${startdir}/raveos-cosmic-theme-apply.service" \
"${pkgdir}/usr/lib/systemd/system/raveos-cosmic-theme-apply.service"
# XDG autostart: first-login script indítása
install -Dm644 "${startdir}/raveos-cosmic-first-login.desktop" \
"${pkgdir}/etc/xdg/autostart/raveos-cosmic-first-login.desktop"
}
|