moarchy-calculator

LOW
maintainer simonschubert 0 votes scanned 2026-09-28 11:20:45.263512
View on AUR
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# The calculator as an app: the QML tree in /usr/share/moarchy-calculator,
4# started by /usr/bin/moarchy-calculator. That launcher opens it in the running
5# Omarchy shell when the plugin is installed there, and as its own Quickshell
6# process everywhere else -- so this package needs Quickshell, not Omarchy.
7#
8# The first package of it: 0.1.0 was a shell plugin only, copied onto a phone
9# by hand. 0.2.0 reads the calculator.json that plugin wrote.
10pkgname=moarchy-calculator
11pkgver=0.2.0
12pkgrel=1
13pkgdesc='The four operations, a tape you can tap, and arithmetic in tens, for Quickshell'
14arch=('any')
15url='https://github.com/SimonSchubert/moarchy-apps'
16license=('MIT')
17# qt6-declarative (QtQuick) comes with quickshell. The kit's icons are Nerd
18# Font glyphs, which namcap cannot see, so it calls that dependency unneeded.
19depends=('quickshell' 'ttf-jetbrains-mono-nerd' 'hicolor-icon-theme')
20# A release asset that packaging/release.sh builds from apps/calculator at the
21# tag, with shared/kit in place of the kit link.
22source=("$url/releases/download/calculator-v$pkgver/$pkgname-$pkgver.tar.gz")
23# Pinned in the commit after the tag, as every app's here is.
24sha256sums=('3d108e96014974a9517e80d69d2172b10c3613a911a61ea78a9e4d11d38f8b7c')
25
26check() {
27 cd "$pkgname-$pkgver"
28 # The arithmetic, the keys and the file. No display needed.
29 QT_QPA_PLATFORM=offscreen /usr/lib/qt6/bin/qmltestrunner -input tests
30}
31
32package() {
33 cd "$pkgname-$pkgver"
34
35 install -d "$pkgdir/usr/share/$pkgname/kit"
36 install -m644 manifest.json ./*.qml ./*.js icon.svg "$pkgdir/usr/share/$pkgname/"
37 install -m644 kit/*.qml kit/*.js "$pkgdir/usr/share/$pkgname/kit/"
38
39 install -Dm755 bin/moarchy-calculator "$pkgdir/usr/bin/moarchy-calculator"
40 install -Dm644 org.moarchy.Calculator.desktop \
41 "$pkgdir/usr/share/applications/org.moarchy.Calculator.desktop"
42 install -Dm644 icon.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/org.moarchy.Calculator.svg"
43 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
44}
45

Scan history

Scanned at (UTC)SeverityRules
2026-09-28 11:20:45 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion