From a3a4601832c8a724c8a84780b6a3315f01807f40 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 --- packaging/aur/PKGBUILD | 8 +++++--- pubspec.yaml | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/packaging/aur/PKGBUILD b/packaging/aur/PKGBUILD index fd51f08..19ce0bc 100644 --- a/packaging/aur/PKGBUILD +++ b/packaging/aur/PKGBUILD @@ -1,8 +1,8 @@ # Maintainer: Krzysztof Rudnicki pkgname=todo-flutter -pkgver=1.0.1 +pkgver=1.0.2 pkgrel=1 -pkgdesc='Offline-first, CRDT-synced notes app (Flutter web in a Chrome app window)' +pkgdesc='Offline-first notes app with optional CRDT sync (Flutter web app in a Chrome window)' arch=('x86_64') url='https://github.com/kuhyx/todo-app' license=('MIT') @@ -14,7 +14,9 @@ license=('MIT') # installed into 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 # The AUR already ships an unrelated package literally named 'todo' (a todo.txt # CLI) which also owns /usr/bin/todo, so the two genuinely cannot coexist. diff --git a/pubspec.yaml b/pubspec.yaml index 6aaed71..c08543a 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 1.0.2+1 +version: 1.0.3+1 environment: sdk: ^3.12.2