Fix PKGBUILD
This commit is contained in:
+2
-8
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user