惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

F
Fortinet All Blogs
小众软件
小众软件
大猫的无限游戏
大猫的无限游戏
B
Blog RSS Feed
WordPress大学
WordPress大学
A
About on SuperTechFans
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - 司徒正美
I
InfoQ
MyScale Blog
MyScale Blog
量子位
博客园 - 【当耐特】
M
MIT News - Artificial intelligence
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园 - 三生石上(FineUI控件)
博客园 - 聂微东
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 叶小钗
J
Java Code Geeks
L
LangChain Blog
T
The Blog of Author Tim Ferriss
有赞技术团队
有赞技术团队
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
阮一峰的网络日志
阮一峰的网络日志

AUR Newest Packages

AUR (en) - linuxqq-clipsync-git AUR (en) - libtslitex-git AUR (en) - libtslitex-git AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - vigil-baseline AUR (en) - byedroid AUR (en) - neovim-base16-git AUR (en) - pirata AUR (en) - rpi-imager-git-non-root AUR (en) - python-fastapi-sso AUR (en) - tmux-ai-titles AUR (en) - zeed-bin AUR (en) - bclone-bin AUR (en) - dwl-git-azerty AUR (en) - auggie-bin AUR (en) - libspatialaudio-git AUR (en) - libspatialaudio AUR (en) - miniupnpd-iptables-legacy AUR (en) - miniupnpd-nft AUR (en) - jeeves-bin AUR (en) - opennow AUR (en) - rotki AUR (en) - kapi-bin AUR (en) - classfi-bin AUR (en) - classfi-git AUR (en) - classfi AUR (en) - giff-git AUR (en) - budget-tracker-bin
AUR (en) - tg-ws-proxy-cli
2026-06-18 · via AUR Newest Packages

Please make me co-maintainer, I would like to bump version and apply patch similar to one from @NTeditor.

diff --git a/PKGBUILD b/PKGBUILD
index 2cac149..c49efa2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,31 +6,21 @@ pkgdesc="Local SOCKS5 proxy server for partial bypassing of Telegram loading"
 arch=("x86_64")
 url="https://github.com/Flowseal/tg-ws-proxy"
 license=("MIT")
-depends=("python")
-makedepends=("python" "python-pip")
+depends=("python" "python-cryptography")

-source=("https://raw.githubusercontent.com/Flowseal/tg-ws-proxy/refs/heads/main/proxy/tg_ws_proxy.py"
-        "tg-ws-proxy-cli@.service")
-sha256sums=("SKIP" "SKIP")
+source=("https://raw.githubusercontent.com/Flowseal/tg-ws-proxy/refs/tags/v${pkgver}/proxy/tg_ws_proxy.py"
+        "tg-ws-proxy-cli@.service"
+        "shebang.patch")
+sha256sums=("c493d6c8f5adafa3ea51f0e7e64a28165097f622dd18b7f444136f10329cbc64"
+            "ffa78fa2b8948f4e87c22238cc0225666cdee94e7209b418f7f1f750b5c59739"
+            "d51fbca796a76a43386a2dace6c2c8b9e63692914ef8355a9213cedb7f457ec3")

-
-build() {
-  cd "$srcdir/"
-
-  python -m venv .venv
-  .venv/bin/pip install --upgrade pip
-  .venv/bin/pip install customtkinter==5.2.2 Pillow==12.1.1 psutil==7.0.0 pystray==0.19.5 pyperclip==1.9.0 cryptography==46.0.5 pyinstaller
-
-  .venv/bin/pyinstaller --clean --noconfirm --onefile  --name "$pkgname" "tg_ws_proxy.py"
-
-  rm -rf .venv
+prepare() {
+  cd "$srcdir"
+  patch -p1 --follow-symlinks -i "$srcdir/shebang.patch"
 }

 package() {
-  cd "$srcdir"
-
-  install -Dm755 "dist/$pkgname" "$pkgdir/usr/bin/$pkgname"
-
+  install -Dm755 "$srcdir/tg_ws_proxy.py" "$pkgdir/usr/bin/$pkgname"
   install -Dm644 "$pkgname@.service" "$pkgdir/usr/lib/systemd/system/$pkgname@.service"
-
 }
diff --git a/shebang.patch b/shebang.patch
new file mode 100644
index 0000000..a427751
--- /dev/null
+++ b/shebang.patch
@@ -0,0 +1,7 @@
+--- a/tg_ws_proxy.py
++++ b/tg_ws_proxy.py
+@@ -1,3 +1,4 @@
++#!/usr/bin/env python
+ from __future__ import annotations
+ 
+ import argparse

This is not an -git package. Use versioned links.

source=("https://raw.githubusercontent.com/Flowseal/tg-ws-proxy/refs/tags/v{$pkgdir}/proxy/tg_ws_proxy.py"
        "tg-ws-proxy-cli@.service")
sha256sums=()