From c33f17665847e28b2af6421787c68c1b2f3b99f7 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Sun, 16 Aug 2026 16:37:28 -0700 Subject: [PATCH] Fix clash --- arch/clash/PKGBUILD | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/clash/PKGBUILD b/arch/clash/PKGBUILD index 47eb38f..1846f84 100644 --- a/arch/clash/PKGBUILD +++ b/arch/clash/PKGBUILD @@ -27,4 +27,10 @@ build() { package() { cd cl-xdg-trash/clash make PREFIX="$pkgdir/usr" deploy-install + mv "$pkgdir/usr/bin/clash" "$pkgdir/usr/lib/clash/" + cat >"$pkgdir/usr/bin/clash" <<'EOF' +#!/bin/sh +exec /usr/lib/clash/clash "${@}" +EOF + chmod 0755 "$pkgdir/usr/bin/clash" }