clarion-git
LOW
maintainer lingyun
0 votes
scanned 2026-10-24 19:41:06.850237
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: 123llyrr <your-email@example.com>
2
3
pkgname=clarion-git
4
pkgver=0.1.0.r93.ga758930
5
pkgrel=1
6
pkgdesc='Wayland compositor with native Vulkan rendering, HDR10/scRGB color management and an integrated GPUI desktop shell (git version)'
7
arch=(x86_64 aarch64)
8
url='https://github.com/123llyrr/clarion'
9
license=(GPL-3.0-or-later)
10
makedepends=(
11
clang
12
git
13
pkgconf
14
rust
15
)
16
depends=(
17
cairo
18
fontconfig
19
freetype2
20
glib2
21
libdisplay-info
22
libinput
23
libpipewire
24
libxkbcommon
25
mesa
26
pango
27
pixman
28
python
29
seatd
30
systemd-libs
31
vulkan-icd-loader
32
wayland
33
xdg-desktop-portal-impl
34
)
35
optdepends=(
36
'xdg-desktop-portal-gnome: portal implementation preferred by the default config'
37
'xdg-desktop-portal-gtk: portal implementation preferred by the default config'
38
'gnome-keyring: secrets portal backend'
39
'xwayland-satellite: Xwayland support for X11 apps'
40
'alacritty: terminal bound in the default config'
41
'fuzzel: app launcher bound in the default config'
42
'swaylock: screen locker bound in the default config'
43
'waybar: status bar bound in the default config'
44
'swaybg: wallpaper'
45
'mako: notification daemon'
46
'swayidle: idle management'
47
'noto-fonts-cjk: CJK fonts for the shell UI'
48
)
49
provides=(clarion)
50
conflicts=(clarion)
51
source=("${pkgname}::git+${url}.git")
52
sha256sums=('SKIP')
53
# Upstream keeps line-tables-only debug info in the binaries so panic
54
# backtraces carry line numbers (same intent as clarion.spec.rpkg, which
55
# disables stripping). Don't let makepkg strip it away.
56
options=(!strip)
57
58
pkgver() {
59
cd "$pkgname"
60
if git describe --long --tags >/dev/null 2>&1; then
61
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
62
else
63
local ver
64
ver=$(sed -n 's/^version = "\(.*\)"$/\1/p' Cargo.toml | head -n1)
65
printf '%s.r%s.g%s' "$ver" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
66
fi
67
}
68
69
build() {
70
cd "$pkgname"
71
72
export CLARION_BUILD_COMMIT="$(git rev-parse HEAD)"
73
74
cargo build --locked --release -p clarion -p clarion-settings -p clarion-shell
75
}
76
77
package() {
78
cd "$pkgname"
79
80
# Rust binaries
81
install -Dm755 -t "$pkgdir/usr/bin" \
82
target/release/clarion \
83
target/release/clarion-settings \
84
target/release/clarion-shell
85
86
# Session launcher and helper scripts
87
install -Dm755 -t "$pkgdir/usr/bin" \
88
resources/clarion-session \
89
resources/clarion-shell-msg \
90
resources/compat/realand-shell \
91
resources/compat/realand-shell-msg
92
93
# Session / application entries
94
install -Dm644 resources/clarion.desktop -t "$pkgdir/usr/share/wayland-sessions"
95
install -Dm644 resources/clarion-shell.desktop -t "$pkgdir/usr/share/applications"
96
97
# Portal configuration
98
install -Dm644 resources/clarion-portals.conf -t "$pkgdir/usr/share/xdg-desktop-portal"
99
100
# systemd user units
101
install -Dm644 -t "$pkgdir/usr/lib/systemd/user" \
102
resources/clarion.service \
103
resources/clarion-shell.service \
104
resources/clarion-shutdown.target
105
106
# Shell icons
107
install -dm755 "$pkgdir/usr/share/clarion-shell/icons"
108
install -m644 -t "$pkgdir/usr/share/clarion-shell/icons" clarion-shell/assets/icons/*
109
110
# Shell completions
111
./target/release/clarion completions bash > clarion.bash
112
./target/release/clarion completions fish > clarion.fish
113
./target/release/clarion completions zsh > _clarion
114
install -Dm644 clarion.bash "$pkgdir/usr/share/bash-completion/completions/clarion"
115
install -Dm644 clarion.fish "$pkgdir/usr/share/fish/vendor_completions.d/clarion.fish"
116
install -Dm644 _clarion "$pkgdir/usr/share/zsh/site-functions/_clarion"
117
118
# Documentation
119
install -Dm644 -t "$pkgdir/usr/share/doc/clarion" \
120
README.md \
121
resources/default-config.kdl
122
cp -r docs/wiki "$pkgdir/usr/share/doc/clarion/wiki"
123
124
# Licenses
125
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" \
126
LICENSE \
127
THIRD_PARTY_NOTICES.md \
128
third_party/gpui/LICENSE-APACHE
129
}
130
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-24 19:41:06 | Low | 1 |