defaultappsforge

LOW
maintainer jetomev 0 votes scanned 2026-10-29 01:51:16.702666
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: jetomev <jetomev@gmail.com>
2# Co-developer: Claude (Anthropic)
3
4pkgname=defaultappsforge
5pkgver=1.0.0
6pkgrel=1
7pkgdesc="Which app opens what: links, email, calendar, pictures, music, video, PDFs, files and more; web apps (Gmail, Google Calendar) as choices. Any Linux, any desktop or none, works on a text console (Forge Suite)"
8arch=('any')
9# defaultappsForge lives in the Forge Suite repository (D-60); releases are tagged defaultappsforge-vX.Y.Z there
10_repo="https://github.com/jetomev/forge-suite"
11url="${_repo}/tree/main/defaultappsforge"
12license=('GPL3')
13# from docs/PACKAGING.md (measured from the code; tests/test_needs.py fails on an unlisted import).
14# nog: installing a missing terminal standard on save, and Find more… (nogForge, through nog)
15depends=('python' 'python-textual' 'python-rich' 'python-forgekit>=0.10.0' 'nog')
16optdepends=('xdg-utils: the system'"'"'s guess for each job, and the default browser for web apps'
17 'xdg-terminal-exec: the default terminal entry'
18 'nogforge: Find more… opens it already searching'
19 'alacritty: Find more… opens nogForge in it')
20checkdepends=('desktop-file-utils')
21source=("${pkgname}-${pkgver}.tar.gz::${_repo}/releases/download/${pkgname}-v${pkgver}/${pkgname}-${pkgver}.tar.gz"
22 "${pkgname}-${pkgver}.tar.gz.asc::${_repo}/releases/download/${pkgname}-v${pkgver}/${pkgname}-${pkgver}.tar.gz.asc")
23sha256sums=('a2f1273b7a143fce6db5df58b018a5b56f50cb5148157c99303fb8439289bb4f'
24 'SKIP')
25# Javier (jetomev) release-signing key — import via:
26# curl -s https://github.com/jetomev.gpg | gpg --import
27validpgpkeys=('32E1D2AB9380BFD6BFE3BC1EAC2A3407CC070F9E')
28
29check() {
30 cd "${srcdir}/${pkgname}-${pkgver}"
31 # every test works on a copy of the settings file: none touches the builder's choices
32 PYTHONDONTWRITEBYTECODE=1 python -m unittest discover -s tests -t .
33 desktop-file-validate defaultappsforge.desktop
34}
35
36package() {
37 cd "${srcdir}/${pkgname}-${pkgver}"
38 find . -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || true
39
40 install -dm755 "${pkgdir}/usr/lib/${pkgname}"
41 cp -r defaultappsforge "${pkgdir}/usr/lib/${pkgname}/"
42 install -m755 main.py "${pkgdir}/usr/lib/${pkgname}/main.py"
43 chmod 755 "${pkgdir}/usr/lib/${pkgname}/defaultappsforge/webapp-open"
44
45 install -dm755 "${pkgdir}/usr/bin"
46 cat > "${pkgdir}/usr/bin/${pkgname}" << 'LAUNCH'
47#!/bin/sh
48exec python3 /usr/lib/defaultappsforge/main.py "$@"
49LAUNCH
50 chmod 755 "${pkgdir}/usr/bin/${pkgname}"
51 # the App Library's web apps: webapp-open --add youtube-music google-docs
52 ln -s /usr/lib/${pkgname}/defaultappsforge/webapp-open "${pkgdir}/usr/bin/webapp-open"
53
54 install -Dm644 defaultappsforge.desktop "${pkgdir}/usr/share/applications/${pkgname}.desktop"
55 install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
56 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
57}
58

Scan history

Scanned at (UTC)SeverityRules
2026-10-29 01:51:16 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