@e_ale92 @davethecipo infatti pensavo a uno scriptino in bash per gli update tipo:
Codice:
#!/bin/bash
dir=$(find /home/$USER -type d -name 'AUR')
package_path=$(zenity --file-selection --file-filter="*.tar.gz" --filename=$dir/ --title="Seleziona pacchetto.tar.gz AUR da aggiornare")
if [ "$package_path" != "" ] ; then
package_name_tar=${package_path##*/}
lungh_package_name_tar=$((${#package_name_tar}+1))
package_dir=${package_path:0: -$lungh_package_name_tar}
package_name=${package_name_tar:0: -7}
package_dir_del=$package_dir"/"$package_name
echo "package_path "$package_path
echo "package_name_tar" $package_name_tar
echo "package_name "$package_name
echo "package_dir "$package_dir
echo "package_dir_del "$package_dir_del
# rm $package_path
# rm -r $package_dir_del
# wget -P $package_dir https://aur.archlinux.org/cgit/aur.git/snapshot/package_name_tar
# tar -xvzf $package_path -C $package_dir
# cd $package_dir_del
# makepkg
# sudo pacman -U $package_dir_del/*.pkg.tar.xz
fi
exit 0
presupponendo che esista la cartella AUR dove ci sono tutti i pacchetti scaricati e scompattati di aur.
sto codice non l'ho ancora provato.