moarchy-books
LOW
maintainer simonschubert
0 votes
scanned 2026-09-29 01:22:50.448130
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
# Books as an app: the QML tree in /usr/share/moarchy-books, started by
4
# /usr/bin/moarchy-books. That launcher opens it in the running Omarchy shell
5
# when the plugin is installed there, and as its own Quickshell process
6
# everywhere else -- so this package needs Quickshell, not Omarchy.
7
pkgname=moarchy-books
8
pkgver=0.1.0
9
pkgrel=1
10
pkgdesc='Open Library and a reading list of your own: discover, search, shelve, track pages'
11
arch=('any')
12
url='https://github.com/SimonSchubert/moarchy-apps'
13
license=('MIT')
14
# qt6-declarative (QtQuick) comes with quickshell. curl asks Open Library the
15
# questions. The kit's icons are Nerd Font glyphs, which namcap cannot see,
16
# so it calls that dependency unneeded.
17
depends=('quickshell' 'curl' 'ttf-jetbrains-mono-nerd' 'hicolor-icon-theme')
18
# A release asset that packaging/release.sh builds from apps/books at the
19
# tag, with shared/kit in place of the kit link.
20
source=("$url/releases/download/books-v$pkgver/$pkgname-$pkgver.tar.gz")
21
# Pinned in the commit after the tag, as every app's here is.
22
sha256sums=('6e67abb80559fb7d4096bf7e232ab015712487c02ef9f0a2501aff1519070ec7')
23
24
check() {
25
cd "$pkgname-$pkgver"
26
# Somebody else's JSON, our own file, and every figure on screen. No
27
# display, no network.
28
QT_QPA_PLATFORM=offscreen /usr/lib/qt6/bin/qmltestrunner -input tests
29
}
30
31
package() {
32
cd "$pkgname-$pkgver"
33
34
install -d "$pkgdir/usr/share/$pkgname/kit"
35
install -m644 manifest.json ./*.qml ./*.js icon.svg "$pkgdir/usr/share/$pkgname/"
36
install -m644 kit/*.qml kit/*.js "$pkgdir/usr/share/$pkgname/kit/"
37
38
install -Dm755 bin/moarchy-books "$pkgdir/usr/bin/moarchy-books"
39
install -Dm644 org.moarchy.Books.desktop \
40
"$pkgdir/usr/share/applications/org.moarchy.Books.desktop"
41
install -Dm644 icon.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/org.moarchy.Books.svg"
42
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
43
}
44
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-29 01:22:50 | Low | 1 |