Package Details: tg-ws-proxy-git 1.8.1.r2.ge9b74d7-1

Git Clone URL: https://aur.archlinux.org/tg-ws-proxy-git.git (read-only, click to copy)
Package Base: tg-ws-proxy-git
Description: Local MTProto proxy server for partial bypassing of Telegram loading
Upstream URL: https://github.com/Flowseal/tg-ws-proxy
Licenses: MIT
Conflicts: tg-ws-proxy-bin
Submitter: gogamlg3
Maintainer: gogamlg3
Last Packager: gogamlg3
Votes: 3
Popularity: 0.25
First Submitted: 2026-03-12 14:30 (UTC)
Last Updated: 2026-07-04 14:58 (UTC)

Latest Comments

drygdryg commented on 2026-06-04 01:06 (UTC) (edited on 2026-06-04 01:06 (UTC) by drygdryg)

Please switch the tg-ws-proxy source to git, add CPU architectures and implement pkgver function.

diff --git a/PKGBUILD b/PKGBUILD
index c582ed8..718d6e5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,28 +1,35 @@
 # Maintainer: gogamlg3
 pkgname=tg-ws-proxy-git
-pkgver=1.7.0
+_pkgname=tg-ws-proxy
+pkgver=1.7.2.r0.ged46ecc
 pkgrel=1
 pkgdesc="Local MTProto proxy server for partial bypassing of Telegram loading"
-arch=("x86_64")
+arch=("x86_64" "aarch64" "pentium4" "i686")
 url="https://github.com/Flowseal/tg-ws-proxy"
 license=("MIT")
 depends=("python" "tk" "libappindicator" "libayatana-appindicator")
 optdepends=("wl-clipboard" "xclip" "xsel")
-makedepends=("python" "python-pip" "imagemagick")
+makedepends=("git" "python" "python-pip" "imagemagick")
 conflicts=("tg-ws-proxy-bin")

-source=("https://github.com/Flowseal/tg-ws-proxy/archive/refs/tags/v$pkgver.tar.gz"
+source=("$_pkgname::git+https://github.com/Flowseal/tg-ws-proxy.git"
         "tg-ws-proxy.desktop"
         "tg-ws-proxy.service")

-sha256sums=("6ad18132d6c938fa8747f483b9323395332b56849e1af14e94089552a7d897f6"
+sha256sums=("SKIP"
             "e06f5ca3f96bde84404610dbee8df3bdf1017fa350cd6e09831d30d820d21e93"
             "34263521bef49c289d3956fb513780950a6f319cb6d4b0222034d32ab929f05d")

 _binname=tg-ws-proxy

+pkgver() {
+  cd "$_pkgname"
+  # cutting off 'v' prefix that presents in the git tag
+  git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
 build() {
-  cd "$srcdir/tg-ws-proxy-$pkgver"
+  cd "$srcdir/$_pkgname"

   python -m venv --system-site-packages .venv
   .venv/bin/pip install --upgrade pip
@@ -34,7 +41,7 @@ build() {
 }

 package() {
-  cd "$srcdir/tg-ws-proxy-$pkgver"
+  cd "$srcdir/$_pkgname"

   install -Dm755 "dist/TgWsProxy" "$pkgdir/usr/bin/$_binname"

korandnik commented on 2026-04-20 22:06 (UTC)

Please introduce pkgver() function to sync to git tag

DDenisGor commented on 2026-03-21 17:39 (UTC)

Доброго вечера. Вопрос: сможешь добавить что-то вроде -cli версии? Где только сам прокси собирается, без трея. +юнит системд? Пока наш авто не добавит опцию типа --cli