mirror of
https://github.com/Luzifer/archrepo.git
synced 2024-11-13 20:02:43 +00:00
Add list of packages to maintain
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
7390831609
commit
27cbe63ba0
3 changed files with 55 additions and 3 deletions
40
aur-packages
Normal file
40
aur-packages
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
adobe-base-14-fonts
|
||||||
|
anydesk-bin
|
||||||
|
babel-eslint
|
||||||
|
brother-ql500
|
||||||
|
consul-bin
|
||||||
|
direnv
|
||||||
|
dust
|
||||||
|
envrun
|
||||||
|
google-chrome
|
||||||
|
google-chrome-beta
|
||||||
|
google-chrome-dev
|
||||||
|
google-cloud-sdk
|
||||||
|
gorun
|
||||||
|
hfsprogs
|
||||||
|
ltwheelconf-git
|
||||||
|
madonctl
|
||||||
|
mpd-mpris
|
||||||
|
nerd-fonts-dejavu-complete
|
||||||
|
obs-linuxbrowser-bin
|
||||||
|
obs-v4l2sink
|
||||||
|
peco
|
||||||
|
platformio
|
||||||
|
redis-desktop-manager
|
||||||
|
reg
|
||||||
|
repoctl
|
||||||
|
samsung-printers
|
||||||
|
scrcpy
|
||||||
|
spotify
|
||||||
|
ssh-audit
|
||||||
|
steamcmd
|
||||||
|
steam-fonts
|
||||||
|
ttf-tahoma
|
||||||
|
ttf-windows
|
||||||
|
usbtop
|
||||||
|
vault2env
|
||||||
|
vault-bin
|
||||||
|
wrk
|
||||||
|
xflux
|
||||||
|
yay
|
||||||
|
yubikey-full-disk-encryption-git
|
|
@ -4,5 +4,8 @@ https://github.com/luzifer-aur/luzifer.git
|
||||||
# arch-update
|
# arch-update
|
||||||
https://github.com/Luzifer/arch-update.git
|
https://github.com/Luzifer/arch-update.git
|
||||||
|
|
||||||
|
# getxkblayout
|
||||||
|
https://gist.github.com/dccae45747a1dad41f011a01c75296a3.git
|
||||||
|
|
||||||
# vim-go-tools
|
# vim-go-tools
|
||||||
https://github.com/luzifer-aur/vim-go-tools.git
|
https://github.com/luzifer-aur/vim-go-tools.git
|
||||||
|
|
|
@ -14,19 +14,28 @@ join_by() {
|
||||||
declare -A local_versions
|
declare -A local_versions
|
||||||
declare -A aur_versions
|
declare -A aur_versions
|
||||||
|
|
||||||
|
IFS=$'\n'
|
||||||
|
|
||||||
database=$(find . -maxdepth 1 -mindepth 1 -name '*.db.tar.xz' -or -name '*.db.tar.zst')
|
database=$(find . -maxdepth 1 -mindepth 1 -name '*.db.tar.xz' -or -name '*.db.tar.zst')
|
||||||
|
|
||||||
aur_query=("https://aur.archlinux.org/rpc/?v=5&type=info")
|
aur_query=("https://aur.archlinux.org/rpc/?v=5&type=info")
|
||||||
|
|
||||||
step "Collecting local package versions..."
|
step "Collecting local package versions..."
|
||||||
|
|
||||||
|
# Prime the local_versions array from the package list
|
||||||
|
for package in $(<aur-packages); do
|
||||||
|
local_versions[${package}]=0.0.0
|
||||||
|
done
|
||||||
|
|
||||||
|
# Update versions in local_versions from database entries
|
||||||
known_packages=$(tar -tf ${database} | grep -v /desc | sed -E 's@^(.*)-([^-]+-[0-9]+)/$@\1 \2@')
|
known_packages=$(tar -tf ${database} | grep -v /desc | sed -E 's@^(.*)-([^-]+-[0-9]+)/$@\1 \2@')
|
||||||
|
|
||||||
IFS=$'\n'
|
|
||||||
|
|
||||||
for package in ${known_packages}; do
|
for package in ${known_packages}; do
|
||||||
name=$(echo "${package}" | cut -d ' ' -f 1)
|
name=$(echo "${package}" | cut -d ' ' -f 1)
|
||||||
version=$(echo "${package}" | cut -d ' ' -f 2)
|
version=$(echo "${package}" | cut -d ' ' -f 2)
|
||||||
|
|
||||||
|
# If there is no entry most likely this is not an AUR package, skip it
|
||||||
|
[[ -n ${local_versions[${name}]:-} ]] || continue
|
||||||
|
|
||||||
local_versions[${name}]=${version}
|
local_versions[${name}]=${version}
|
||||||
aur_query+=("arg[]=${name}")
|
aur_query+=("arg[]=${name}")
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue