I run aurutils on an hourly schedule in my k8s cluster and have a pacman repository configured to point there.
Any AUR package I want is updated regularly and added to the repository if it builds successfully.
I use pacman on my Arch Linux workstation to install everything. You could easily replicate this same workflow on your local machine, or a raspberry pi; whatever you want. It's automated and easily managed.
Very inconsistent quoting style, almost like every other line is copied from elsewhere :P
Any reason you're mixing bash's [[ construct and posix [ (test) checks? This already requires bash to function, there's no reason to use the error-prone [.
makepkg "${makepkg_flags}"
This breaks when $makepkg_flags contains spaces. You actually want this unquoted I'm fairly sure.
IFS="
"
Did you mean IFS=$'\n'
Also why are you downloading AUR snapshot tarballs instead of git cloning it? That's wasteful and creates unnecessary load
7 comments
Why wouldn't you just use
aurutils?Maybe, but I would have liked something a tad bit more automated ;P
I run
aurutilson an hourly schedule in my k8s cluster and have a pacman repository configured to point there.Any AUR package I want is updated regularly and added to the repository if it builds successfully.
I use
pacmanon my Arch Linux workstation to install everything. You could easily replicate this same workflow on your local machine, or a raspberry pi; whatever you want. It's automated and easily managed.And what's preventing you from automating aurutils?
Very inconsistent quoting style, almost like every other line is copied from elsewhere :P
Any reason you're mixing bash's
[[construct and posix[(test) checks? This already requires bash to function, there's no reason to use the error-prone[.This breaks when
$makepkg_flagscontains spaces. You actually want this unquoted I'm fairly sure.Did you mean
IFS=$'\n'Also why are you downloading AUR snapshot tarballs instead of git cloning it? That's wasteful and creates unnecessary load
not true :)
true, I'll change that soon.
https://imgflip.com/i/3e45hw