picodulce
maintainer refrigerador67
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The pip install is for the project's own requirements.txt within a venv, using sources from the project's official git repository, posing minimal 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 pip install is for the project's own requirements.txt within a venv, using sources from the project's official git repository, posing minimal 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:32
pip install -r requirements.txt -
PKGBUILD:45
pip install -r requirements.txt
PKGBUILD
2 offending line(s) highlighted
1
# Maintainer: refrigerador67
2
# Maintainer: nixietab
3
4
pkgname=picodulce
5
pkgver=0.12
6
pkgrel=2
7
pkgdesc="Launcher for Minecraft based on the picomc library"
8
arch=('x86_64')
9
OPTIONS=(!strip !docs libtool emptydirs)
10
url="https://github.com/nixietab/picodulce"
11
license=('MIT') # Replace with your project's license
12
depends=('python' 'python-virtualenv' 'xdg-utils')
13
check=('jdk17-openjdk' 'jdk8-openjdk' 'jdk21-openjdk')
14
makedepends=('git')
15
source=("git+https://github.com/nixietab/picodulce.git")
16
sha256sums=('SKIP')
17
18
package() {
19
cd "$srcdir/$pkgname"
20
21
# Create a directory for the application in the user's home directory
22
install -dm755 "$pkgdir/usr/share/$pkgname"
23
24
# Copy all project files to the created directory
25
cp -r . "$pkgdir/usr/share/$pkgname"
26
27
# Create a virtual environment
28
python -m venv "$pkgdir/usr/share/$pkgname/venv"
29
30
# Activate the virtual environment and install dependencies
31
source "$pkgdir/usr/share/$pkgname/venv/bin/activate"
32
pip install -r requirements.txt
33
34
# Create a run.sh script
35
install -Dm755 /dev/stdin "$pkgdir/usr/share/$pkgname/run.sh" <<EOF
36
#!/bin/bash
37
38
if [ ! -d "venv" ]; then
39
echo "venv folder does not exist. Creating virtual environment..."
40
python3 -m venv venv
41
42
source venv/bin/activate
43
44
echo "Installing required packages..."
45
pip install -r requirements.txt
46
else
47
source venv/bin/activate
48
fi
49
50
python picodulce.py
51
EOF
52
53
54
# Make the run.sh script executable
55
chmod +x "$pkgdir/usr/share/$pkgname/run.sh"
56
57
# Create a desktop entry for the application
58
install -Dm644 /dev/stdin "$pkgdir/usr/share/applications/$pkgname.desktop" <<EOF
59
[Desktop Entry]
60
Name=Picodulce
61
Path=/usr/share/picodulce
62
Exec=/usr/share/picodulce/run.sh
63
Icon=/usr/share/picodulce/launcher_icon.ico
64
Terminal=true
65
Type=Application
66
Comment=Picodulce Launcher
67
Categories=Game;
68
EOF
69
70
# Ensure the normal user has permission to write to the picodulce folder
71
chown -R "$USER:$USER" "$pkgdir/usr/share/$pkgname"
72
chmod -R u+w "$pkgdir/usr/share/$pkgname"
73
74
#Install into bin
75
install -Dm755 /dev/stdin "$pkgdir/usr/bin/picodulce" <<EOF
76
#!/bin/bash
77
cd /usr/share/picodulce/
78
exec ./run.sh
79
EOF
80
}
81
# vim:set ts=2 sw=2 et:
82
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 |