[COPY] --- T2-COPYRIGHT-BEGIN --- [COPY] t2/package/*/64gram/64gram.desc [COPY] Copyright (C) 2026 The T2 SDE Project [COPY] SPDX-License-Identifier: GPL-2.0 [COPY] --- T2-COPYRIGHT-END --- [I] 64Gram - unofficial Telegram Desktop fork [T] 64Gram is a Telegram Desktop fork with additional features such as [T] message editing history, an improved tray menu, and other quality of [T] life changes. This package installs the upstream Linux build, which is [T] statically linked and needs no Qt or tg_owt on the system. [U] https://github.com/TDesktop-x64/tdesktop [A] TDesktop-x64 contributors [M] Dennie Mahne [C] extra/network [F] BINARY [R] + x86-64 [L] GPL [V] 3.2.2.1 [D] db62a5123b58de33627287258fcea47dd3211651dfdfb8fad9419194 64Gram_3.2.2.1_linux.zip https://github.com/TDesktop-x64/tdesktop/releases/download/v3.2.2.1/ # prebuilt binaries autoextract=0 runconf=0 runmake=0 pkg_64gram_main() { unzip -oq $(match_source_file -p *linux.*zip) install -D -C -v -m 755 Telegram $root$libdir/64gram/Telegram install -D -C -v -m 755 Updater $root$libdir/64gram/Updater rm -f $root$bindir/64gram cat > $root$bindir/64gram <<-EOT #!/bin/sh export QT_QPA_PLATFORM="\${QT_QPA_PLATFORM:-xcb}" exec /$prefix/lib/64gram/Telegram "\$@" EOT chmod 755 $root$bindir/64gram cat > $root$datadir/applications/64gram.desktop <<-EOT [Desktop Entry] Name=64Gram Comment=Unofficial Telegram Desktop fork Exec=64gram -- %u Icon=telegram Terminal=false Type=Application Categories=Network;InstantMessaging;Qt; MimeType=x-scheme-handler/tg; StartupWMClass=64Gram EOT } hook_add postmake 5 pkg_64gram_main