summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStykers2019-05-21 20:13:19 +0900
committerStykers2019-05-21 20:13:19 +0900
commit41a8cdd8c48a0a581f7a88047fabe2b8c489563e (patch)
tree9f2ecc849a0859df836849727db8e0a54034e837
parent4c189dcae66900defe3540cfca39d774d6e1a62d (diff)
downloadaur-41a8cdd8c48a0a581f7a88047fabe2b8c489563e.tar.gz
fix python version correctly
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 3 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 89ca9eb492d0..874c642daaf9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = brave-git
pkgdesc = A web browser that stops ads and trackers by default. Master branch.
pkgver = 0.24.1.r236.g7e6875794
- pkgrel = 1
+ pkgrel = 2
url = https://www.brave.com/
arch = x86_64
groups = networking
diff --git a/PKGBUILD b/PKGBUILD
index 15686133f0df..9d9e7708fceb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=brave-git
pkgver=0.24.1.r236.g7e6875794
-pkgrel=1
+pkgrel=2
pkgdesc="A web browser that stops ads and trackers by default. Master branch."
arch=('x86_64') # Upstream supports x86_64 only
url="https://www.brave.com/"
@@ -31,8 +31,7 @@ build() {
npm install home-path buffer-to-vinyl stream-combiner2
npm install
- alias python=python2
- npm run init
+ npm run init --python=python2.7
if [[ ! (-r /proc/sys/kernel/unprivileged_userns_clone && $(< /proc/sys/kernel/unprivileged_userns_clone) == 1 && -n $(zcat /proc/config.gz | grep CONFIG_USER_NS=y) ) ]]; then
echo "User namespaces are not detected as enabled on your system, brave will run with the sandbox disabled"