digitalclock5
maintainer envolution
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads source code from GitHub (project's own repositories) and a skins ZIP from SourceForge; the latter is from a non-whitelisted host but contains only non-executable theme data, 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 package downloads source code from GitHub (project's own repositories) and a skins ZIP from SourceForge; the latter is from a non-whitelisted host but contains only non-executable theme data, posing minimal risk.
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:19
https://digitalclock4.sourceforge.io/media/skins.zip
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: envolution
2
# shellcheck shell=bash disable=SC2034,SC2154
3
4
pkgname=digitalclock5
5
_pkgname=DigitalClock5
6
pkgver=5.1.8
7
pkgrel=1
8
pkgdesc="A modern digital clock application"
9
arch=('x86_64')
10
url="https://github.com/Kolcha/DigitalClock5"
11
license=('GPL-3.0-or-later')
12
depends=('qt6-multimedia' 'qt6-tools' 'qt6-svg' 'qt6-base' 'ninja' 'cmake')
13
makedepends=('git')
14
install=$pkgname.install
15
source=("git+https://github.com/Kolcha/DigitalClock5.git#tag=${pkgver}"
16
'git+https://github.com/Kolcha/GradientDialog.git'
17
'git+https://github.com/Kolcha/paletteicon.git'
18
'git+https://github.com/Skycoder42/QHotkey.git'
19
https://digitalclock4.sourceforge.io/media/skins.zip
20
digitalclock5.desktop
21
digitalclock5.install
22
)
23
sha256sums=('654425aeea6d32448f8172ab49bd3a5755b50776667099aba9841237cb2bebb4'
24
'SKIP'
25
'SKIP'
26
'SKIP'
27
'23fd7f483064ad9743b4dbdeb144a90791fd2aba9be20aa712c570a0f8e15587'
28
'353cab3b079779c5ad3255fe3ffae21c28f4140e1e1c92f5b1c860c6f06e24e8'
29
'b3953c72141ea3a80ad353a2f66eee22614722571d8306fc1989a60df4858c81')
30
31
prepare() {
32
git -C "${_pkgname}" submodule init
33
git -C "${_pkgname}" -c protocol.file.allow='always' submodule update
34
git -C "${_pkgname}" config --local "submodule.third_party/GradientDialog.url" "GradientDialog"
35
git -C "${_pkgname}" config --local "submodule.third_party/paletteicon.url" "paletteicon"
36
git -C "${_pkgname}" config --local "submodule.third_party/QHotkey.url" "QHotkey"
37
git -C "${_pkgname}" submodule update --remote
38
}
39
40
build() {
41
cd "${_pkgname}"
42
cmake \
43
-B build \
44
-G Ninja \
45
-D CMAKE_BUILD_TYPE=Release \
46
-D CMAKE_INSTALL_PREFIX=/usr/share/digitalclock5
47
cmake --build build --target update_translations
48
cmake --build build
49
50
}
51
52
package() {
53
install -dm755 "${pkgdir}/usr/share/applications"
54
install -Dm644 digitalclock5.desktop "${pkgdir}/usr/share/applications/"
55
install -dm755 "${pkgdir}/usr/share/digitalclock5/plugins"
56
install -dm755 "${pkgdir}/usr/share/digitalclock5/skins"
57
install -dm755 "${pkgdir}/usr/bin"
58
install -Dm755 "${_pkgname}/build/app/DigitalClock5" "${pkgdir}/usr/share/digitalclock5/"
59
ln -s "/usr/share/digitalclock5/DigitalClock5" "${pkgdir}/usr/bin/digitalclock5"
60
61
install -Dm644 "${_pkgname}/app/res/icons/clock.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/digitalclock5.svg"
62
find "${_pkgname}/build/clock_common/" -name 'lib*.so' -exec install -v -Dm 0755 {} -t "${pkgdir}/usr/share/digitalclock5/" \;
63
find "${_pkgname}/build/plugin_core/" -name 'lib*.so' -exec install -v -Dm 0755 {} -t "${pkgdir}/usr/share/digitalclock5/" \;
64
find "${_pkgname}/build/skin_engine/" -name 'lib*.so' -exec install -v -Dm 0755 {} -t "${pkgdir}/usr/share/digitalclock5/" \;
65
find "${_pkgname}/build/plugins/" -name '*.so' -not -name '*sample*' -exec install -v -Dm 0755 {} -t "${pkgdir}/usr/share/digitalclock5/plugins/" \;
66
# find "${_pkgname}/build/3rdparty/paletteicon/" -name '*.so' -exec install -v -Dm 0755 {} -t "${pkgdir}/usr/share/digitalclock5/" \;
67
68
cp -r "skins/"* "${pkgdir}/usr/share/digitalclock5/skins/"
69
}
70
# vim:set ts=2 sw=2 et:
71
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 |