danbooru-client-git
maintainer sl1pkn07
· 3 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The non-standard host hosts only a logo image (non-executable data), and the main source is a legitimate Git repository; the worst case of a swapped image is cosmetic.
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 non-standard host hosts only a logo image (non-executable data), and the main source is a legitimate Git repository; the worst case of a swapped image is cosmetic.
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:38
'git+https://git.dennogumi.org/kde/danbooru-client.git'
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>
2
# Contributor: archtux <antonio dot arias99999 at gmail dot com>
3
4
pkgname=danbooru-client-git
5
pkgver=0.3.0.r401.0eb9232
6
pkgrel=1
7
pkgdesc="Application to access Danbooru-based image boards. (GIT Version)"
8
arch=('x86_64')
9
url='http://www.dennogumi.org/projects/danbooru-client'
10
license=('GPL3')
11
depends=(
12
'gcc-libs' # libstdc++.so
13
'glibc' # libc.so
14
'kio5' # libKF5KIOCore.so libKF5KIOFileWidgets.so
15
'kwallet5' # libKF5Wallet.so
16
'kwidgetsaddons5' # libKF5WidgetsAddons.so
17
'kxmlgui5' # libKF5XmlGui.so
18
'ktextwidgets5' # libKF5TextWidgets.so
19
'kdeclarative5' # libKF5Declarative.so
20
'ki18n5' # libKF5I18n.so
21
'kconfigwidgets5' # libKF5ConfigWidgets.so
22
'kcompletion5' # libKF5Completion.so
23
'kconfig5' # libKF5ConfigCore.so libKF5ConfigGui.so
24
'kcoreaddons5' # libKF5CoreAddons.so
25
'kfilemetadata5' # libKF5FileMetaData.so
26
'qt5-base' # libQt5Core.so libQt5Gui.so libQt5Widgets.so
27
'qt5-declarative' # libQt5Qml.so libQt5QuickWidgets.so
28
)
29
makedepends=(
30
'extra-cmake-modules'
31
'kdoctools5'
32
'git'
33
'python'
34
)
35
conflicts=('danbooru-client')
36
provides=('danbooru-client')
37
source=(
38
'git+https://git.dennogumi.org/kde/danbooru-client.git'
39
'https://github.com/lbeltrame/danbooru-client/raw/master/danbooru/img/logo.png'
40
)
41
sha256sums=(
42
'SKIP'
43
'395a907c61a3450e22a695f6d5e04bf3fbaf3342b02474ba401acbd595609b8b'
44
)
45
46
pkgver() {
47
cd danbooru-client
48
_ver="$(cat CMakeLists.txt | grep -m3 -e MAJOR -e MINOR -e PATCH | grep -o "[[:digit:]]*" | paste -sd'.')"
49
echo "${_ver}.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
50
}
51
52
prepare() {
53
sed '/danbooruservice.h/d' -i danbooru-client/src/danbooruconnectwidget.cpp
54
}
55
56
build() {
57
cmake -S danbooru-client -B build \
58
-DCMAKE_BUILD_TYPE=None \
59
-DCMAKE_INSTALL_PREFIX=/usr \
60
-DKDE_INSTALL_LIBDIR=lib \
61
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
62
-DBUILD_TESTING=OFF
63
64
cmake --build build
65
}
66
67
package() {
68
DESTDIR="${pkgdir}" cmake --install build
69
install -Dm644 logo.png "${pkgdir}/usr/share/pixmaps/danbooru.png"
70
sed 's|Icon=danbooru_client|Icon=danbooru|g' -i "${pkgdir}/usr/share/applications/"*.desktop
71
}
72
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 |