mirror of
https://github.com/kuhyx/diet-guard.git
synced 2026-11-21 08:02:20 +01:00
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) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Aoa1nKWRrAbowz7Hfd3tgL
This commit is contained in:
parent
97959e892d
commit
4cd8e368b8
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user