lexis-git
maintainer clar
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package builds from a legitimate project source via git and uses pip to install only the project's own editable package and required build tools (pyinstaller), posing no supply-chain risk.
Triggered rules
LOW
AI review downgraded a static finding
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package builds from a legitimate project source via git and uses pip to install only the project's own editable package and required build tools (pyinstaller), posing no supply-chain risk.
1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM
pip install of an external package
pip_install_external
`pip install <package>` fetches an unpinned package from PyPI at build time, outside source=() and makepkg's checksums.
-
PKGBUILD:30
pip install --upgrade pip -
PKGBUILD:32
pip install pyinstaller
PKGBUILD
2 offending line(s) highlighted
1
# Maintainer: Adınız <email@adresiniz.com>
2
pkgname=lexis-git
3
pkgver=r1.gf406063
4
pkgrel=1
5
pkgdesc="Yabancı dil öğrenenler için yapay zeka destekli, modern masaüstü sözlük uygulaması"
6
arch=('x86_64' 'aarch64')
7
url="https://github.com/talhacaglar/Lexis"
8
license=('MIT')
9
depends=('glibc' 'zlib' 'libx11' 'libxcb' 'libxkbcommon' 'fontconfig' 'freetype2' 'dbus')
10
makedepends=('git' 'python' 'python-pip' 'python-setuptools')
11
provides=("${pkgname%-git}")
12
conflicts=("${pkgname%-git}")
13
source=("lexis::git+https://github.com/talhacaglar/lexis.git"
14
"lexis.desktop")
15
md5sums=('SKIP'
16
'SKIP')
17
18
pkgver() {
19
cd "$srcdir/lexis"
20
printf "r%s.g%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
21
}
22
23
build() {
24
cd "$srcdir/lexis"
25
26
# PyInstaller kullanarak temiz ortamda derle
27
python -m venv .venv
28
source .venv/bin/activate
29
30
pip install --upgrade pip
31
pip install -e .
32
pip install pyinstaller
33
34
pyinstaller --name="lexis" \
35
--windowed \
36
--onedir \
37
--noconfirm \
38
--hidden-import="lexis.ui.views" \
39
--hidden-import="lexis.ui.widgets" \
40
--hidden-import="lexis.workers" \
41
--clean \
42
lexis/main.py
43
}
44
45
package() {
46
cd "$srcdir/lexis"
47
48
# Derlenen pyinstaller çıktılarını /opt/lexis içine atıyoruz
49
install -dm755 "$pkgdir/opt/lexis"
50
cp -r dist/lexis/* "$pkgdir/opt/lexis/"
51
52
# Sembolik link (terminalden direkt çalışması için)
53
install -dm755 "$pkgdir/usr/bin"
54
ln -s /opt/lexis/lexis "$pkgdir/usr/bin/lexis"
55
56
# Desktop file
57
install -Dm644 "$srcdir/lexis.desktop" "$pkgdir/usr/share/applications/lexis.desktop"
58
59
# SVG icon
60
if [ -f "packaging/icons/lexis.svg" ]; then
61
install -Dm644 "packaging/icons/lexis.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/lexis.svg"
62
fi
63
}
64
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |