From 21daf2de6c7061c9d23d591b2837afd5ad77dbae Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Mon, 17 Aug 2026 17:20:05 -0700 Subject: [PATCH] Fix PKGBUILD --- arch/clash/PKGBUILD | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/arch/clash/PKGBUILD b/arch/clash/PKGBUILD index 1846f84..27adeb7 100644 --- a/arch/clash/PKGBUILD +++ b/arch/clash/PKGBUILD @@ -2,7 +2,7 @@ _pkgname='clash' pkgname=$_pkgname-git -pkgver=47 +pkgver=53 pkgrel=1 pkgdesc='Command-line tool for trashing and restoring files' url='https://git.zander.im/Zander671/cl-xdg-trash' @@ -26,11 +26,5 @@ 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" + make PREFIX="$pkgdir/usr" REAL_PREFIX="/usr" deploy-install }