Zrythm installer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
413 B

#!@BASH@
set -e
out_file="$1"
pkgbuild="$2"
src_tarball="$3"
zplugins_tarball="$4"
private_dir="$5"
rm -rf $private_dir
mkdir -p $private_dir
cp $pkgbuild $private_dir/PKGBUILD
cp $src_tarball $private_dir/
cp $zplugins_tarball $private_dir/
pushd $private_dir
MINGW_INSTALLS=mingw64 makepkg-mingw -fs --noconfirm
popd
cp $private_dir/*.pkg.tar.zst $out_file
pacman -U $out_file --noconfirm --overwrite='*'