orianin-gtk-theme-fixed-git
LOW
maintainer gaougalos
0 votes
scanned 2026-10-30 00:29:30.650963
Why flagged
The package builds a GTK theme from trusted upstream sources and applies fixes from a maintainer-controlled repository; no remote code execution or malicious payloads are present, and the theme is non-executable data.
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.
Low
AI review
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package builds a GTK theme from trusted upstream sources and applies fixes from a maintainer-controlled repository; no remote code execution or malicious payloads are present, and the theme is non-executable data.
PKGBUILD
1
# Maintainer: gaou-piou <i dot am dot piou at gmail dot com>
2
# Contributor: Mark Wagie <mark dot wagie at tutanota dot com>
3
pkgname=orianin-gtk-theme-fixed-git
4
_name=orianin-gtk-theme
5
_fixes=orianin
6
pkgver=r10.g5cfdf21.f7.0c09bae
7
pkgrel=1
8
pkgdesc="Orianin, a flat GTK theme, Nord colors, with GTK 3/4 geometry fixes (window buttons, headerbars, Nautilus, Electron/Chromium titlebars)"
9
arch=('any')
10
url='https://github.com/vinceliuice/Orianin-gtk-theme'
11
license=('GPL-3.0-or-later')
12
depends=('gnome-themes-extra' 'gtk3')
13
makedepends=('git' 'gnome-shell' 'sassc')
14
optdepends=('gtk-engine-murrine: GTK 2 support')
15
provides=("${_name}")
16
conflicts=("${_name}" "${_name}-git")
17
options=('!strip' '!debug')
18
source=("${_name}::git+https://github.com/vinceliuice/Orianin-gtk-theme.git")
19
sha256sums=('SKIP')
20
# The fixes follow the main branch of github.com/gaou-piou/gtk-theme-fixes, so a change there needs
21
# no package update; pkgver() records which commit a build took. local_build=true: they come from a
22
# gtk-theme-fixes/ working tree in a parent directory of this PKGBUILD instead (uncommitted changes
23
# included).
24
if [[ ${local_build:-} != true ]]; then
25
source+=('gtk-theme-fixes::git+https://github.com/gaou-piou/gtk-theme-fixes.git')
26
sha256sums+=('SKIP')
27
fi
28
29
_local_fixes() {
30
local d=$startdir
31
until [[ -d $d/gtk-theme-fixes/generic || $d == / ]]; do d=$(dirname "$d"); done
32
if [[ ! -d $d/gtk-theme-fixes/generic ]]; then
33
error "local_build: no gtk-theme-fixes/ in a parent directory of $startdir"
34
return 1
35
fi
36
printf '%s\n' "$d/gtk-theme-fixes"
37
}
38
39
# <theme version>.f<count>.<commit>: the commits of gtk-theme-fixes that change the files this
40
# package uses (generic/ and its own directory), so other themes' fixes leave the version alone
41
pkgver() {
42
local theme="$srcdir/${_name}" fixes="$srcdir/gtk-theme-fixes" v
43
if [[ ${local_build:-} == true ]]; then
44
fixes=$(_local_fixes) || return 1
45
fi
46
if v=$(git -C "$theme" describe --long --tags --abbrev=7 2>/dev/null); then
47
v=$(sed 's/\([^-]*-g\)/r\1/;s/-/./g' <<< "$v")
48
else
49
v=r$(git -C "$theme" rev-list --count HEAD).g$(git -C "$theme" rev-parse --short=7 HEAD)
50
fi
51
printf '%s.f%s.%s' "$v" "$(git -C "$fixes" rev-list --count HEAD -- generic "${_fixes}")" \
52
"$(git -C "$fixes" log -1 --format=%h --abbrev=7 HEAD -- generic "${_fixes}")"
53
}
54
55
prepare() {
56
local fx="$srcdir/gtk-theme-fixes"
57
if [[ ${local_build:-} == true ]]; then
58
local d
59
d=$(_local_fixes) || return 1
60
warning "local_build: fixes from $d (uncommitted changes included)"
61
rm -rf "$fx" && mkdir "$fx"
62
cp -r "$d/generic" "$d/${_fixes}" "$fx/"
63
fi
64
cd "${_name}"
65
66
local sass=src/_sass
67
cp "$fx/generic/fixes-3.0.scss" "$sass/_fixes-3.0.scss"
68
cp "$fx/generic/fixes-4.0.scss" "$sass/_fixes-4.0.scss"
69
cp "$fx/${_fixes}/fixes-variables.scss" "$sass/_fixes-variables.scss"
70
cp "$fx/${_fixes}/local-fixes-3.0.scss" "$sass/_local-fixes-3.0.scss"
71
72
# the fixes are imported near the end of each GTK entry file, after the theme's own partials,
73
# so they see its variables
74
local f
75
for f in src/gtk/3.0/*.scss; do
76
sed -i "$(awk 'END { print NR - 1 }' "$f") a @import '../../_sass/fixes-3.0';" "$f"
77
sed -i "$(awk 'END { print NR - 1 }' "$f") a @import '../../_sass/local-fixes-3.0';" "$f"
78
sed -i "$(awk 'END { print NR - 6 }' "$f") a @import '../../_sass/fixes-variables';" "$f"
79
done
80
for f in src/gtk/4.0/*.scss; do
81
sed -i "$(awk 'END { print NR - 1 }' "$f") a @import '../../_sass/fixes-4.0';" "$f"
82
sed -i "$(awk 'END { print NR - 6 }' "$f") a @import '../../_sass/fixes-variables';" "$f"
83
done
84
}
85
86
package() {
87
cd "${_name}"
88
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
89
install -d "${pkgdir}/usr/share/themes"
90
# every accent, standard size, solid, Nord colors, primary-colored window buttons, dock
91
# TERM: install.sh draws a spinner with tput, which fails without one (clean chroots)
92
TERM=${TERM:-dumb} ./install.sh -t all -i default -s standard --tweaks solid nord primary dock \
93
-d "${pkgdir}/usr/share/themes"
94
rm -rf "${pkgdir}"/usr/share/themes/{Orianin,Orianin-*}/gnome-shell/extensions
95
}
96
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-30 00:29:30 | Low | 2 |
| 2026-10-29 21:53:30 | Low | 2 |