summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorrouhannb2020-08-22 13:34:12 -0400
committerrouhannb2020-08-22 13:34:12 -0400
commit31fa464704294c07c6efe4f4344b2708f33d5e24 (patch)
tree586dab9ef4535b7dae1d1231c13e4a1045986044
parentcd33bb9f803672895395a0ff37d72a706fda81d2 (diff)
downloadaur-31fa464704294c07c6efe4f4344b2708f33d5e24.tar.gz
Some cleanup, stop hardcoding path of Python 2
Thanks ISSOtm
-rw-r--r--PKGBUILD7
1 files changed, 2 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c26aecf11be..20eacc7863b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -121,10 +121,7 @@ prepare() {
# Install skia deps (essentially runs git-sync-deps with the files already downloaded)
mkdir --parents --verbose skia/third_party/externals
- for _dep in buildtools common
- do
- ln --force --symbolic --verbose "../${_dep}" skia
- done
+ ln --force --symbolic --verbose ../{buildtools,common} skia
for _dep in angle2 dawn dng_sdk egl-registry expat freetype harfbuzz icu imgui opencl-registry \
libjpeg-turbo libpng libwebp lua microhttpd opencl-lib opengl-registry piex \
@@ -138,7 +135,7 @@ prepare() {
cp --verbose skia/bin/gn skia/buildtools/linux64/gn
mkdir --parents --verbose binsub
- ln --force --symbolic /usr/bin/python2 binsub/python
+ ln --force --symbolic $(which python2) binsub/python
}
build() {