Buds Arch Package Repository https://bar.budlabs.xyz
  • Shell 98.7%
  • HTML 1.3%
Find a file
2026-03-19 18:45:24 +01:00
pkg [PKG ADD] fastcompmgr 2026-03-19 18:45:24 +01:00
www added fronend directory 2026-03-19 14:50:14 +01:00
.gitignore update gitignore 2026-03-19 14:50:30 +01:00
bar.pub.github.gpg added public gpg keys 2026-03-19 14:49:13 +01:00
bar.pub.gpg added public gpg keys 2026-03-19 14:49:13 +01:00
README.md added How it works section to readme.. 2026-03-19 15:14:22 +01:00
repo-add.sh added helper scripts 2026-03-19 14:48:48 +01:00
repo-update.sh added helper scripts 2026-03-19 14:48:48 +01:00

BAR - https://bar.budlabs.xyz

Buds Arch Repositories

I used to maintain packages for my own programs on AUR, now I host them here instead, pre-compiled and packaged. I also added some packages found on AUR that are dependencies to my own. Other packages in the BAR are either not in AUR or had broken packages on AUR.

curl -s https://bar.budlabs.xyz/bar.pub.gpg | sudo pacman-key --add -
sudo pacman-key --lsign-key A181CCE78A37E1CDF2438198A29E3FAA7327E469

if ! grep -q "\[BAR\]" /etc/pacman.conf; then
	cat <<-'EOB'
	
	[BAR]
	Server = https://bar.budlabs.xyz
	SigLevel = Required DatabaseOptional

	EOB
fi | sudo tee -a /etc/pacman.conf

sudo pacman -Sy

How it works

repo-update.sh builds all packages and add them to a .gitignored directory called "repo". We then create BAR.db in the repo directory and copy contents of "www" and bar.pub.gpg to "repo", and push repo dir to budlabs.xyz .

So as of now everything is in a flattened directory structure which is quite messy, but i wanted it so that the Server line in pacman.conf would read: https://bar.budlabs.xyz , and i couldn't figure out how to achieve it without a flat directory. It also doesn't matter that much, i figured that if i in the future want a more complex frontend i can have: repo/index.html and repo/www/ or something..

Maybe i will do some redirect trickery in the server config, but that means the server configuration becomes a dependency for the BAR repository...