Ensure source dir name doesn't collide with package name
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
abb84b4bd4
commit
2f5ff0027f
1 changed files with 5 additions and 3 deletions
|
@ -10,8 +10,10 @@ sudo mkdir -p "$OUTDIR"
|
|||
sudo chown -R builder:builder "$OUTDIR"
|
||||
|
||||
export PKGDEST="$OUTDIR"
|
||||
export SRCDEST="$HOME"
|
||||
export BUILDDIR="$HOME"
|
||||
export SRCDEST="$HOME/sources"
|
||||
export BUILDDIR="$HOME/builddir"
|
||||
mkdir -p "$SRCDEST"
|
||||
mkdir -p "$BUILDDIR"
|
||||
|
||||
if [ "$PLUGIN_AUTO_MAKEFLAGS" != "no" ]; then
|
||||
echo "MAKEFLAGS='-j$(nproc)'" | sudo tee -a /etc/makepkg.conf
|
||||
|
@ -43,6 +45,6 @@ else
|
|||
fi
|
||||
|
||||
echo "Running build"
|
||||
makepkg -sAc --skippgpcheck --noconfirm --noprogressbar "$PKGBUILD"
|
||||
makepkg -sAc --skippgpcheck --noconfirm --noprogressbar
|
||||
|
||||
sudo chown -R root:root "$OUTDIR"
|
||||
|
|
Loading…
Reference in a new issue