2024-09-26 13:59:32 -05:00
|
|
|
#!/usr/bin/env bash
|
2024-10-08 12:45:32 -05:00
|
|
|
set -x
|
2024-09-26 19:00:36 -05:00
|
|
|
|
2024-10-22 21:05:23 -05:00
|
|
|
prep() {
|
|
|
|
sudo mkdir /var/log/makepkg/
|
|
|
|
sudo chown builder /var/log/makepkg/
|
|
|
|
chmod -R 777 /var/log/makepkg/
|
|
|
|
|
|
|
|
echo "PKGDEST=/repo/
|
2024-10-01 22:41:57 -05:00
|
|
|
LOGDEST=/var/log/makepkg/" >~/.makepkg.conf
|
2024-10-23 17:38:22 -05:00
|
|
|
echo '[multilib]
|
2024-11-10 10:49:25 -06:00
|
|
|
Include = /etc/pacman.d/mirrorlist
|
|
|
|
|
|
|
|
[askiiart]
|
|
|
|
Server = https://askiiart.net/repos/archlinux/$arch
|
|
|
|
SigLevel = Optional' | sudo tee -a /etc/pacman.conf
|
2024-10-22 21:05:23 -05:00
|
|
|
sudo pacman -Sy
|
|
|
|
mkdir /tmp/arch-workdir/
|
|
|
|
}
|
|
|
|
|
|
|
|
build_aur_package() {
|
|
|
|
cd /tmp/arch-workdir/
|
|
|
|
mkdir ./$1
|
|
|
|
cd ./$1
|
|
|
|
zbuilder.sh $1
|
|
|
|
rm -rf ~/source
|
|
|
|
}
|
2024-10-08 12:45:32 -05:00
|
|
|
|
2024-10-22 21:24:24 -05:00
|
|
|
prep
|
|
|
|
|
2024-09-26 13:59:32 -05:00
|
|
|
git clone https://git.askiiart.net/askiiart/mnt-and-sway
|
|
|
|
cd ./mnt-and-sway/
|
|
|
|
makepkg -s -c -C --noconfirm --noprogressbar
|
|
|
|
cd ..
|
|
|
|
rm -rf ./mnt-and-sway/
|
|
|
|
|
2024-10-22 21:05:23 -05:00
|
|
|
# these are built from source
|
|
|
|
build_aur_package 'paru'
|
2024-11-10 13:30:39 -06:00
|
|
|
build_aur_package 'fjordlauncherunlocked'
|
2024-10-22 21:05:23 -05:00
|
|
|
build_aur_package 'polycat'
|
2024-11-09 21:54:13 -06:00
|
|
|
# note that if swayfx depends on the version of scenefx that's currently being built,
|
|
|
|
# it won't be in the repo as of now, so swayfx will fail
|
|
|
|
# this is likely, but not a big deal, so i'm not gonna bother with it
|
|
|
|
build_aur_package 'scenefx'
|
2024-11-09 18:08:01 -06:00
|
|
|
build_aur_package 'swayfx'
|
2024-10-22 21:05:23 -05:00
|
|
|
# note that this requires a *lot* of RAM, more than 16 GB
|
|
|
|
# can be done on systems with less via zram
|
|
|
|
build_aur_package 'librewolf-allow-dark'
|
2024-10-10 21:52:15 -05:00
|
|
|
|
2024-11-06 10:25:30 -06:00
|
|
|
|
2024-10-10 21:52:15 -05:00
|
|
|
# these two are super tiny so not really any reason not to build them here
|
2024-10-22 21:05:23 -05:00
|
|
|
build_aur_package 'vesktop-bin'
|
|
|
|
build_aur_package 'bluetooth-support'
|
2024-10-23 13:21:54 -05:00
|
|
|
build_aur_package 'rate-mirrors-bin'
|
|
|
|
|
2024-11-06 10:25:30 -06:00
|
|
|
|
2024-10-23 13:21:54 -05:00
|
|
|
# big, so only for slow things and over LAN
|
|
|
|
build_aur_package 'protonup-qt-bin'
|
|
|
|
build_aur_package 'schildichat-desktop-bin'
|
|
|
|
build_aur_package 'visual-studio-code-bin'
|
2024-11-06 10:25:30 -06:00
|
|
|
build_aur_package 'mindustry-bin'
|
|
|
|
build_aur_package 'dwarfs-bin'
|
2024-10-23 17:38:22 -05:00
|
|
|
|
2024-11-06 10:25:30 -06:00
|
|
|
# it doesn't install dependencies from the AUR for some reason (see also python-vdf below)
|
2024-10-23 17:38:22 -05:00
|
|
|
yay -S lua51-lsqlite3 python-requests --noconfirm --needed
|
2024-10-23 13:21:54 -05:00
|
|
|
build_aur_package 'olympus-bin'
|
2024-10-23 17:38:22 -05:00
|
|
|
|
|
|
|
yay -S python-vdf --noconfirm --needed
|
2024-10-23 13:21:54 -05:00
|
|
|
build_aur_package 'protontricks'
|
2024-10-23 17:38:22 -05:00
|
|
|
|
2024-10-10 21:52:15 -05:00
|
|
|
|
2024-09-26 23:58:13 -05:00
|
|
|
cd /repo/
|
2024-11-09 18:08:01 -06:00
|
|
|
rm -rf /tmp/arch-workdir
|
2024-11-20 09:35:43 -06:00
|
|
|
repo-add -Rp ./askiiart.db.tar.zst $(find . -name "*.tar.zst" ! -name "askiiart*")
|