th06-demo-data
maintainer Minmo
· 4 votes
· base
th06-demo
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a legitimate trial version of a Touhou Project game from the official developer's domain (zun's Big.or.jp page), which is a standard host for this software; the download is a data archive, not an executable payload, and is checksum-verified.
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 source is a legitimate trial version of a Touhou Project game from the official developer's domain (zun's Big.or.jp page), which is a standard host for this software; the download is a data archive, not an executable payload, and is checksum-verified.
1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM
source=() URL on a non-standard host
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:12
source=('http://www16.big.or.jp/~zun/data/soft/kouma_tr013.lzh'
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Minmo <com dot gmail at maroboromike>
2
# Contributor: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
3
4
pkgbase='th06-demo'
5
pkgname=('th06-demo-data' 'th06-demo-wine' 'th06-demo-pytouhou')
6
pkgver=0.13
7
pkgrel=4
8
url='http://www16.big.or.jp/~zun/html/th06.html'
9
arch=('any')
10
license=('custom')
11
makedepends=('convmv' 'icoutils' 'p7zip')
12
source=('http://www16.big.or.jp/~zun/data/soft/kouma_tr013.lzh'
13
"$pkgbase-wine.desktop" "$pkgbase-wine.sh"
14
"$pkgbase-pytouhou.desktop" "$pkgbase-pytouhou.sh")
15
sha1sums=('dfeb4dd358c6613ec4d8b701d41672ca75b6a0c9'
16
'333378812ca70ba6c075abef71e6743e8cd331ca'
17
'96bdc21f1e4f14bfeb19ff7025e83e658ec50f33'
18
'93d2273e95886b29dfd94af22a485b0b50706ba8'
19
'4591e137f7948508140c5014d11eacad41b63b0d')
20
21
prepare() {
22
LC_ALL=C 7z x kouma_tr013.lzh
23
convmv -f CP932 -t UTF-8 -r --notest .
24
cd "$srcdir"
25
}
26
27
package_th06-demo-data() {
28
pkgdesc='Embodiment of Scarlet Devil trial version. Sixth game of the Touhou Project series; data files.'
29
30
cd "$srcdir/東方紅魔郷 体験版"
31
32
install -dm755 "$pkgdir/usr/share/$pkgbase"
33
install -m755 *.exe "$pkgdir/usr/share/$pkgbase"
34
install -m644 *.DAT "$pkgdir/usr/share/$pkgbase"
35
36
install -dm755 "$pkgdir/usr/share/doc/$pkgbase/html"
37
install -m644 *.txt 'マニュアル/index.html' "$pkgdir/usr/share/doc/$pkgbase"
38
install -m644 マニュアル/html/* "$pkgdir/usr/share/doc/$pkgbase/html"
39
40
install -dm755 "$pkgdir/usr/share/pixmaps"
41
wrestool -x -o th06-demo.ico 東方紅魔郷.exe
42
install -m644 th06-demo.ico "$pkgdir/usr/share/pixmaps"
43
44
# Here we convert the ico file to png, not sure if it’s worth it.
45
icotool -x th06-demo.ico
46
install -m644 th06-demo_1_32x32x8.png "$pkgdir/usr/share/pixmaps/th06-demo.png"
47
}
48
49
package_th06-demo-wine() {
50
pkgdesc='Embodiment of Scarlet Devil trial version. Sixth game of the Touhou Project series; Wine version.'
51
depends=("$pkgbase-data" 'wine')
52
optdepends=('timidity++: for MIDI musics' 'soundfont-fluid: soundfont')
53
54
install -dm755 "$pkgdir/usr/share/applications"
55
install -m644 "$pkgname.desktop" "$pkgdir/usr/share/applications"
56
57
install -dm755 "$pkgdir/usr/bin"
58
install -m755 "$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
59
60
echo ''
61
echo '######################################'
62
echo '# To hear sound, install the optional dependencies and add the following to `/etc/timidity/timidity.cfg`'
63
echo '# `soundfont /usr/share/soundfonts/FluidR3_GM.sf2`'
64
echo '# Add your user to the audio group: `gpasswd -a $USER audio`'
65
echo '# Reboot'
66
echo '# If you still cannot hear sound recheck the timidity config file, it seems to sometimes get overwritten'
67
echo '######################################'
68
echo ''
69
}
70
71
package_th06-demo-pytouhou() {
72
pkgdesc='Embodiment of Scarlet Devil trial version. Sixth game of the Touhou Project series; PyTouhou version.'
73
depends=("$pkgbase-data" 'pytouhou-hg')
74
75
install -dm755 "$pkgdir/usr/share/applications"
76
install -m644 "$pkgname.desktop" "$pkgdir/usr/share/applications"
77
78
install -dm755 "$pkgdir/usr/bin"
79
install -m755 "$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
80
}
81
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 |