From 4cd8e368b8cdc0e631486641a4b6f1225cc6d513 Mon Sep 17 00:00:00 2001 From: Krzysztof kuhy Rudnicki Date: Sun, 9 Aug 2026 23:51:18 +0200 Subject: [PATCH] packaging/aur: sharpen metadata against the AUR submission rules The AUR does not review uploads, but packages that violate the rules "may be deleted without warning", so these were audited against the submission guidelines rather than assumed compliant. - pkgdesc now says what the app actually does, in terms a stranger can judge. "Usefulness" is the one rule these packages are genuinely exposed to, and the old wording led with the implementation detail. - optdepends lists every browser the wrapper actually probes for. It searched Thorium and Brave but only advertised Chrome and Chromium; all four names were checked to resolve in the official repos or the AUR. Verified compliant on the rules that can be checked mechanically: not in an official repo, name free in the AUR, x86_64 declared, no replaces= (the AUR reserves it for renames), Maintainer line present, license installed. The conflicts=('todo') on todo-flutter is justified, not defensive: AUR 'todo' 2.4-1 installs its own /usr/bin/todo, confirmed by reading its PKGBUILD. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01Aoa1nKWRrAbowz7Hfd3tgL --- app/pubspec.yaml | 2 +- packaging/aur/PKGBUILD | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/pubspec.yaml b/app/pubspec.yaml index e514fd9..72b174e 100644 --- a/app/pubspec.yaml +++ b/app/pubspec.yaml @@ -2,7 +2,7 @@ name: diet_guard_app description: "Companion phone app for diet_guard: log meals on the go." publish_to: 'none' -version: 1.0.1+1 +version: 1.0.2+1 environment: sdk: ^3.12.2 diff --git a/packaging/aur/PKGBUILD b/packaging/aur/PKGBUILD index 9d3cf26..932b463 100644 --- a/packaging/aur/PKGBUILD +++ b/packaging/aur/PKGBUILD @@ -4,7 +4,7 @@ pkgname=diet-guard-app # so the first packageable tag is v1.0.1. pkgver=1.0.1 pkgrel=1 -pkgdesc='Diet logging and budget companion (Flutter web in a Chrome app window)' +pkgdesc='Calorie and macro logger with a daily budget (Flutter web app in a Chrome window)' arch=('x86_64') url='https://github.com/kuhyx/diet-guard' license=('MIT') @@ -16,7 +16,9 @@ license=('MIT') # the hicolor theme hierarchy. depends=('glibc' 'bash' 'hicolor-icon-theme') optdepends=('google-chrome: renders the app window' - 'chromium: renders the app window') + 'chromium: renders the app window' + 'brave-bin: renders the app window' + 'thorium-browser-bin: renders the app window') makedepends=('flutter') # flutter-bin provides `flutter`; either satisfies this # !strip is LOAD-BEARING: the wrapper is a Dart AOT executable with its snapshot # embedded in the ELF. Stripping discards the snapshot and the binary degrades