I've gone ahead and taken the liberty of fixing this PKGBUILD, as it's not really functional right now.
First of all, you're not exporting your PATH
stuff, so it tries to use the user's /usr/bin/python when you run python within the PKGBUILD. It basically makes your symlinking useless.
This:
if [ ! -d "${srcdir}"/py2 ]; then
mkdir "${srcdir}"/py2
PATH="${srcdir}"/py2:$PATH
ln -s /usr/bin/python2 "${srcdir}"/py2/python
fi
needs to be:
if [ ! -d "${srcdir}"/py2 ]; then
mkdir "${srcdir}"/py2
export PATH="${srcdir}"/py2:$PATH
ln -s /usr/bin/python2 "${srcdir}"/py2/python
fi
Second, you get "install_openssl": file not found
errors, since you don't cd into the proper directory in the build() function.
This:
build() {
# Need to figure out how to detect if certain modules were already made so that a re-compilation isn't needed
./'install_openssl'
Needs to be this:
build() {
# Need to figure out how to detect if certain modules were already made so that a re-compilation isn't needed
cd $srcdir/desktop-v2/tools/deps
./'install_openssl'
With those changes I've successfully built, installed, and ran the Windscribe GUI.
Pinned Comments
Topik commented on 2021-12-24 04:54 (UTC)
PSA: An official and supported binary version will be released with version 2.4 in January 2022.