telegram-drive-appimage

LOW
maintainer guglovich 0 votes scanned 2026-10-06 00:13:36.889724
View on AUR
Why flagged

The package extracts and installs an AppImage from the project's official GitHub release, which is a normal AUR practice; the AppImage is from a trusted project source, and the build process uses it to provide a native-like installation without running untrusted remote code.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Low AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package extracts and installs an AppImage from the project's official GitHub release, which is a normal AUR practice; the AppImage is from a trusted project source, and the build process uses it to provide a native-like installation without running untrusted remote code.

PKGBUILD

1# Maintainer: guglovich <guglovich164@gmail.com>
2# Created with assistance from GLM 5.3 Flash.
3
4pkgname=telegram-drive-appimage
5pkgver=4.0.0
6pkgrel=1
7pkgdesc="Turn your Telegram account into an unlimited, secure cloud storage drive (from AppImage)"
8arch=('x86_64')
9url="https://github.com/caamer20/Telegram-Drive"
10license=('LicenseRef-Upstream-Unspecified')
11depends=(
12 'cairo'
13 'dbus'
14 'gdk-pixbuf2'
15 'glib2'
16 'gtk3'
17 'hicolor-icon-theme'
18 'libayatana-appindicator'
19 'libsoup3'
20 'webkit2gtk-4.1'
21)
22makedepends=('squashfs-tools')
23optdepends=(
24 'ffmpeg: HLS media transcoding'
25 'gnome-keyring: persistent credential storage'
26)
27options=('!strip' '!debug')
28source=("${pkgname}-${pkgver}.AppImage::https://github.com/caamer20/Telegram-Drive/releases/download/v${pkgver}/Telegram.Drive_${pkgver}_amd64.AppImage"
29 "LICENSE::https://raw.githubusercontent.com/caamer20/Telegram-Drive/v${pkgver}/packaging/arch/UPSTREAM-LICENSE-NOTICE")
30sha256sums=('0f3e33f1ac5f5480b1b0d1eba5d3c1778c33ea437c7a680ffe57c3338346e02b'
31 '164994ae2a66a7215deca4a6ebf5822cc1d67737c5c1e1ba2f32b28016e0d6fb')
32
33prepare() {
34 cp -L "${srcdir}/${pkgname}-${pkgver}.AppImage" "${srcdir}/real-appimage"
35 chmod +x "${srcdir}/real-appimage"
36 "${srcdir}/real-appimage" --appimage-extract >/dev/null 2>&1
37}
38
39package() {
40 cd "${srcdir}/squashfs-root"
41
42 # Ставим сам бинарник из AppImage, а не AppImage-рантайм.
43 # Внутри AppImage вшиты свои GTK/WebKit: на части систем (в т.ч. без
44 # аппаратного GL) WebKit не инициализируется ("Could not create default
45 # EGL display") и окно остаётся пустым тёмным прямоугольником.
46 # Бинарник же линкуется динамически и отлично работает с системными
47 # библиотеками — так же, как и upstream .deb/.rpm-пакеты.
48 install -Dm755 "usr/bin/app" "${pkgdir}/usr/lib/telegram-drive/app"
49
50 local icon
51 while IFS= read -r -d '' icon; do
52 install -Dm644 "${icon}" \
53 "${pkgdir}/${icon/apps\/app.png/apps\/com.cameronamer.telegramdrive.png}"
54 done < <(find usr/share/icons/hicolor -type f -path '*/apps/app.png' -print0)
55
56 install -dm755 "${pkgdir}/usr/bin"
57 cat > "${pkgdir}/usr/bin/telegram-drive" << 'EOF'
58#!/bin/sh
59# Pacman владеет установкой: приложение может проверять обновления,
60# но не должно менять файлы в /usr через self-updater Tauri.
61export TELEGRAM_DRIVE_PACKAGE_MANAGER=pacman
62exec /usr/lib/telegram-drive/app "$@"
63EOF
64 chmod 755 "${pkgdir}/usr/bin/telegram-drive"
65
66 install -dm755 "${pkgdir}/usr/share/applications"
67 cat > "${pkgdir}/usr/share/applications/com.cameronamer.telegramdrive.desktop" << 'EOF'
68[Desktop Entry]
69Type=Application
70Name=Telegram Drive
71Comment=Browse and manage files stored in your Telegram account
72Exec=telegram-drive
73Icon=com.cameronamer.telegramdrive
74Terminal=false
75Categories=Network;FileTransfer;Utility;
76StartupWMClass=app
77StartupNotify=true
78EOF
79
80 install -Dm644 "${srcdir}/LICENSE" \
81 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
82}

Scan history

Scanned at (UTC)SeverityRules
2026-10-06 00:13:36 Low 2
2026-10-05 23:40:58 Low 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion