Pikaur is broken, use Yay instead
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
7afcb8587f
commit
d9d6b0f886
1 changed files with 5 additions and 5 deletions
10
makepkg.sh
10
makepkg.sh
|
@ -16,17 +16,17 @@ fi
|
|||
|
||||
if [ "$PLUGIN_INSTALL" != "" ]; then
|
||||
echo "Installing packages before build: $PLUGIN_INSTALL"
|
||||
pikaur -Syu --noprogressbar --noconfirm $(echo "$PLUGIN_INSTALL" | tr ',' ' ')
|
||||
yay -Syu --noprogressbar --noconfirm --mflags=-A $(echo "$PLUGIN_INSTALL" | tr ',' ' ')
|
||||
fi
|
||||
|
||||
if [ "$PLUGIN_INSTALL_OUTPUTS" != "no" ] && [ -n "$(ls -A "$OUTDIR")" ]; then
|
||||
echo "Installing previous build outputs"
|
||||
pikaur -U --noprogressbar --noconfirm "$OUTDIR"/*
|
||||
yay -U --noprogressbar --noconfirm "$OUTDIR"/*
|
||||
fi
|
||||
|
||||
# Clone package repo
|
||||
if [ "$PLUGIN_AUR" != "" ]; then
|
||||
echo "Building AUR package $PLUGIN_AUR"
|
||||
echo "Building AUR package: $PLUGIN_AUR"
|
||||
git clone "$AUR_URL/$PLUGIN_AUR.git" package
|
||||
cd package
|
||||
elif [ "$PLUGIN_REPO" != "" ]; then
|
||||
|
@ -44,9 +44,9 @@ if [ "$PLUGIN_PKGBUILD" != "" ]; then
|
|||
fi
|
||||
|
||||
echo "Running build"
|
||||
pikaur -P --noprogressbar --noconfirm --mflags=--ignorearch "$PKGBUILD"
|
||||
makepkg -sAc --skippgpcheck --noconfirm --noprogressbar "$PKGBUILD"
|
||||
|
||||
echo "Moving packages to output directory: $OUTDIR"
|
||||
mv ~/.cache/pikaur/pkg/* "$OUTDIR/"
|
||||
mv *.pkg.* "$OUTDIR/"
|
||||
|
||||
sudo chown -R root:root "$DRONE_WORKSPACE_BASE"
|
||||
|
|
Loading…
Reference in a new issue