moarchy-clock
LOW
maintainer simonschubert
0 votes
scanned 2026-09-28 11:20:45.263512
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: Simon Schubert <simon@librem.one>
2
#
3
# Clock as an app: the QML tree in /usr/share/moarchy-clock, started by
4
# /usr/bin/moarchy-clock. That launcher opens it in the running Omarchy shell
5
# when the plugin is installed there -- where the shell keeps it loaded and an
6
# alarm rings with the window shut -- and as its own Quickshell process
7
# everywhere else, where it rings while its window is open.
8
#
9
# 0.1.0 was a shell plugin only, installed by copying it onto a phone. 0.2.0
10
# is the first package: the same clock, the same
11
# ~/.local/share/moarchy-clock/clock.json, and a desktop layout.
12
pkgname=moarchy-clock
13
pkgver=0.2.0
14
pkgrel=1
15
pkgdesc='The time, an alarm that says when it is late, a stopwatch and a timer, for Quickshell'
16
arch=('any')
17
url='https://github.com/SimonSchubert/moarchy-apps'
18
license=('MIT')
19
# qt6-declarative (QtQuick) comes with quickshell. The icons are Nerd Font
20
# glyphs, which namcap cannot see. The alarm tone is the freedesktop sound
21
# theme's, played by whichever of pw-play, paplay or canberra-gtk-play is
22
# there; with none, the ring is on the screen and says so.
23
depends=('quickshell' 'ttf-jetbrains-mono-nerd' 'hicolor-icon-theme')
24
optdepends=('sound-theme-freedesktop: the alarm tone'
25
'pipewire: pw-play, to play it')
26
# A release asset that packaging/release.sh builds from apps/clock at the tag,
27
# with shared/kit in place of the kit link.
28
source=("$url/releases/download/clock-v$pkgver/$pkgname-$pkgver.tar.gz")
29
# Pinned in the commit after the tag, as every app's here is.
30
sha256sums=('8aa9fd815f08501f4dacda63aa0612dd0e2a0ea85a828b99a0bd22f1b091dbca')
31
32
check() {
33
cd "$pkgname-$pkgver"
34
# The alarms, the stopwatch and timer arithmetic, and the file. No display.
35
QT_QPA_PLATFORM=offscreen /usr/lib/qt6/bin/qmltestrunner -input tests
36
}
37
38
package() {
39
cd "$pkgname-$pkgver"
40
41
install -d "$pkgdir/usr/share/$pkgname/kit"
42
install -m644 manifest.json ./*.qml ./*.js ./*.svg "$pkgdir/usr/share/$pkgname/"
43
install -m644 kit/*.qml kit/*.js "$pkgdir/usr/share/$pkgname/kit/"
44
45
install -Dm755 bin/moarchy-clock "$pkgdir/usr/bin/moarchy-clock"
46
install -Dm644 org.moarchy.Clock.desktop \
47
"$pkgdir/usr/share/applications/org.moarchy.Clock.desktop"
48
install -Dm644 icon.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/org.moarchy.Clock.svg"
49
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
50
}
51
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-28 11:20:45 | Low | 1 |