aur-sync
is a simple script to keep AUR packages up to date.
How to use it:
# 1. First you need to create some directories where the work will happen:
mkdir -p /tmp/aur-sync-ws
mkdir -p /tmp/aur-sync-ws/build
mkdir -p /tmp/aur-sync-ws/src
cd /tmp/aur-sync-ws
# 2. Write the AUR packages to be synced to a file
cat > aur-packages <<EOF
playerctl
telegram-bin
EOF
# 3. Run the aur-sync.sh script passing it the aur-packages file
./aur-sync.sh aur-packages
# The script will download, extract, build and install the latest version of those packages.
# Note: sudo password and pacman confirmation are required for each package update.