Fix clash
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user