Fix PKGBUILD
This commit is contained in:
+2
-8
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
_pkgname='clash'
|
_pkgname='clash'
|
||||||
pkgname=$_pkgname-git
|
pkgname=$_pkgname-git
|
||||||
pkgver=47
|
pkgver=53
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='Command-line tool for trashing and restoring files'
|
pkgdesc='Command-line tool for trashing and restoring files'
|
||||||
url='https://git.zander.im/Zander671/cl-xdg-trash'
|
url='https://git.zander.im/Zander671/cl-xdg-trash'
|
||||||
@@ -26,11 +26,5 @@ build() {
|
|||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd cl-xdg-trash/clash
|
cd cl-xdg-trash/clash
|
||||||
make PREFIX="$pkgdir/usr" deploy-install
|
make PREFIX="$pkgdir/usr" REAL_PREFIX="/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