Fix PKGBUILD

This commit is contained in:
2026-08-17 17:20:05 -07:00
parent c33f176658
commit 21daf2de6c
+2 -8
View File
@@ -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
}