rename(telegram-desktop): package ID to telegram

Same pattern already used for claude/claude-desktop: keep the upstream
desktop-id (org.telegram.desktop) and every installed path unchanged, only
rename the Stapler package directory and `name` field. `replaces` stays
self-name-only per the general rule in validate_repo.py (the old-name
carve-over in `replaces` is currently special-cased there for `claude`
only) — anyone with telegram-desktop installed needs `stplr install
telegram` + `stplr remove telegram-desktop` manually.
This commit is contained in:
Александр
2026-07-25 18:01:52 +10:00
parent 9833b202f9
commit 3fdc6a608a
8 changed files with 4 additions and 4 deletions
@@ -1,6 +1,6 @@
name='telegram-desktop' name='telegram'
version='7.0.5' version='7.0.5'
release=6 release=1
summary='Official Telegram messaging client' summary='Official Telegram messaging client'
summary_ru='Официальный клиент мессенджера Telegram' summary_ru='Официальный клиент мессенджера Telegram'
group='Networking/Instant messaging' group='Networking/Instant messaging'
@@ -14,7 +14,7 @@ architectures=('amd64')
license=('GPL-3.0-only') license=('GPL-3.0-only')
provides=() provides=()
replaces=('telegram-desktop') replaces=('telegram')
conflicts=() conflicts=()
auto_reqprov_method="dirty" auto_reqprov_method="dirty"
@@ -88,7 +88,7 @@ EOF
install -Dm644 telegram-desktop.png \ install -Dm644 telegram-desktop.png \
"${pkgdir}/usr/share/icons/hicolor/256x256/apps/org.telegram.desktop.png" "${pkgdir}/usr/share/icons/hicolor/256x256/apps/org.telegram.desktop.png"
install-license LICENSE "telegram-desktop/LICENSE.nivora" install-license LICENSE "telegram/LICENSE.nivora"
} }
files() { files() {

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB