summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorrouhannb2020-08-22 11:46:29 -0400
committerrouhannb2020-08-22 11:46:29 -0400
commitcd33bb9f803672895395a0ff37d72a706fda81d2 (patch)
tree9c6cf9d5600e4e41316791530b04aeca9da64ef0
parentbbac323adac9d463a1de0fe51000d8bf91cfeda0 (diff)
downloadaur-cd33bb9f803672895395a0ff37d72a706fda81d2.tar.gz
Allow package to be rebuilt without cleaning src/
-rw-r--r--PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 90b4ac894ff..c26aecf11be 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -123,22 +123,22 @@ prepare() {
for _dep in buildtools common
do
- mv --force --no-target-directory --verbose "${_dep}" "skia/${_dep}"
+ ln --force --symbolic --verbose "../${_dep}" skia
done
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 \
sdl sfntly spirv-cross spirv-headers spirv-tools swiftshader zlib wuffs
do
- mv --force --no-target-directory --verbose "${_dep}" "skia/third_party/externals/${_dep}"
+ ln --force --symbolic --verbose "../../../${_dep}" skia/third_party/externals
done
chmod u=rwx,g=rx,o=rx --verbose gn
mv --verbose gn skia/bin/gn
cp --verbose skia/bin/gn skia/buildtools/linux64/gn
- mkdir --verbose binsub
- ln --symbolic /usr/bin/python2 binsub/python
+ mkdir --parents --verbose binsub
+ ln --force --symbolic /usr/bin/python2 binsub/python
}
build() {