add librewolf-allow-dark (server updated to use zram)
Some checks reported errors
continuous-integration/drone Build was killed

This commit is contained in:
askiiart 2024-10-22 21:05:23 -05:00
parent f2891648a5
commit b26c0fc902
Signed by untrusted user who does not match committer: askiiart
GPG key ID: EA85979611654C30

View file

@ -1,5 +1,7 @@
#!/usr/bin/env bash
set -x
prep() {
sudo mkdir /var/log/makepkg/
sudo chown builder /var/log/makepkg/
chmod -R 777 /var/log/makepkg/
@ -8,7 +10,15 @@ echo "PKGDEST=/repo/
LOGDEST=/var/log/makepkg/" >~/.makepkg.conf
sudo pacman -Sy
mkdir /tmp/arch-workdir/
cd /tmp/arch-workdir
}
build_aur_package() {
cd /tmp/arch-workdir/
mkdir ./$1
cd ./$1
zbuilder.sh $1
rm -rf ~/source
}
git clone https://git.askiiart.net/askiiart/mnt-and-sway
cd ./mnt-and-sway/
@ -16,39 +26,18 @@ makepkg -s -c -C --noconfirm --noprogressbar
cd ..
rm -rf ./mnt-and-sway/
# these 3 are built from source
mkdir ./paru
cd ./paru
zbuilder.sh paru
cd ..
rm -rf ~/source
mkdir ./fjordlauncher-unlocked
cd ./fjordlauncher-unlocked
zbuilder.sh fjordlauncher-unlocked
cd ..
rm -rf ~/source
mkdir ./polycat
cd ./polycat
zbuilder.sh polycat
cd ..
rm -rf ~/source
# these are built from source
build_aur_package 'paru'
build_aur_package 'fjordlauncher-unlocked'
build_aur_package 'polycat'
# 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'
# these two are super tiny so not really any reason not to build them here
mkdir ./vesktop-bin
cd ./vesktop-bin
zbuilder.sh vesktop-bin
cd ..
rm -rf ~/source
mkdir ./bluetooth-support
cd ./bluetooth-support
zbuilder.sh bluetooth-support
cd ..
rm -rf ~/source
build_aur_package 'vesktop-bin'
build_aur_package 'bluetooth-support'
cd /repo/
rm -rf ./tmp/arch-workdir
repo-add ./askiiart.db.tar.zst $(find . -name "*.tar.zst" ! -name "breakfast*" ! -name "askiiart*")