From e5cb1739f738344510b51eb6973b467b08cd9bbd Mon Sep 17 00:00:00 2001 From: Agustin Carrasco Date: Sun, 24 May 2020 20:08:12 -0300 Subject: [PATCH] Fix binaries --- .SRCINFO | 2 +- PKGBUILD | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index ba262b32bfe2..aa519ad9d576 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = vercel pkgdesc = The command line interface for Vercel pkgver = 19.0.1 - pkgrel = 1 + pkgrel = 2 url = https://github.com/zeit/now arch = any license = MIT diff --git a/PKGBUILD b/PKGBUILD index f0b9c5a5aa40..1c640f85904c 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,6 +1,6 @@ pkgname=vercel pkgver=19.0.1 -pkgrel=1 +pkgrel=2 pkgdesc="The command line interface for Vercel" arch=(any) url="https://github.com/zeit/now" @@ -14,10 +14,6 @@ sha256sums=('db57352f617064452a5c71b9c4272ec32d566a9ff5fd8ed8b610e9c754dca7b8') # For more info about this package see: # https://wiki.archlinux.org/index.php/Node.js_package_guidelines package() { - # If we don't unlink the binary the script below will fail to run - # https://github.com/zeit/now/blob/60c76b32902a73efaff75368e266ae9efac71eb0/packages/now-cli/scripts/preinstall.js - sudo unlink /usr/bin/vercel || true - npm install -g --user root --cache "${srcdir}/npm-cache" --prefix "$pkgdir/usr" "$srcdir/$pkgname-$pkgver.tgz" # Fix permissions