diff options
author | Rafael Fontenelle | 2022-09-18 22:50:08 -0300 |
---|---|---|
committer | Rafael Fontenelle | 2022-09-18 22:50:08 -0300 |
commit | 0b741da8982146aaa07ac6b75706d48df282459a (patch) | |
tree | fedf87056121bd3a5c8325a1b7da9182b06485b3 | |
parent | 462795cebd706ae2798564fedfddc1fb5847dcc1 (diff) | |
download | aur-0b741da8982146aaa07ac6b75706d48df282459a.tar.gz |
Enforce the use of official python package
AUR users have been reporting build failures when meson tries
to find python3 installation because it hits their non-official
Python environment added to the PATH environment variable.
Enforcing /usr/bin/python3 should solve this problem as this
path belongs to the python package in Arch's official
repositories.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = gnome-browser-connector pkgdesc = Native browser connector for integration with extensions.gnome.org pkgver = 42.1 - pkgrel = 1 + pkgrel = 2 url = https://wiki.gnome.org/Projects/GnomeShellIntegration arch = any license = GPL3 @@ -3,7 +3,7 @@ pkgname=gnome-browser-connector pkgver=42.1 -pkgrel=1 +pkgrel=2 pkgdesc='Native browser connector for integration with extensions.gnome.org' arch=(any) url="https://wiki.gnome.org/Projects/GnomeShellIntegration" @@ -24,6 +24,8 @@ pkgver() { prepare() { cd $pkgname + # Enforce Arch python package's binary, to avoid different python binary in users' PATH + sed -i "/find_installation('python3'/s/python3/\/usr\/bin\/python3/" meson.build } build() { |