Skip to content

Commit

Permalink
Update build.sh to include configs
Browse files Browse the repository at this point in the history
  • Loading branch information
zstg authored Dec 24, 2024
1 parent a6f891a commit 63045a5
Showing 1 changed file with 26 additions and 12 deletions.
38 changes: 26 additions & 12 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,25 +86,25 @@ build_and_package() {
local packages=(
"albert"
"aura-bin"
# "aurutils"
# "aurutils"
"bibata-cursor-theme-bin"
# "brave-bin"
# #"eww"
# "google-chrome"
# "gruvbox-plus-icon-theme-git"
# "libadwaita-without-adwaita-git"
# "mkinitcpio-openswap"
# "brave-bin"
# #"eww"
# "google-chrome"
# "gruvbox-plus-icon-theme-git"
# "libadwaita-without-adwaita-git"
# "mkinitcpio-openswap"
"mu" # TODO find a way to not pull in Emacs as a dependency
# "nwg-clipman"
# "nwg-clipman"
"nwg-dock-hyprland-bin"
# "octopi"
# "octopi"
"oh-my-zsh-git"
# "pamac-all"
"pandoc-bin"
"python-clickgen"
# "pyprland"
# #"repoctl"
# "rua"
# "pyprland"
# #"repoctl"
# "rua"
"swayfx"
# "sway-nvidia"
"swayosd-git"
Expand Down Expand Up @@ -172,6 +172,20 @@ build_and_package() {
rm -f **debug**.pkg.tar.zst
cp *.pkg.tar.zst "$dir"/x86_64/
cd "$dir"

packages=("stratos-bin" "stratmacs-config" "stratos-calamares-config" "stratos-kitty-config" "stratos-fish-config" "stratos-waybar-config" "stratos-starship-config")
for package in "${packages[@]}"; do
mkdir -p /tmp/$package
cp "$dir"/PKGBUILDS/$package/PKGBUILD /tmp/$package
cd /tmp/$package
sudo chmod -R 777 /tmp/$package
sudo -u builder makepkg -cfs --noconfirm
rm -f **debug**.pkg.tar.zst
cp *.pkg.tar.zst "$dir"/x86_64/
cd "$dir"
rm -rf /tmp/$package
done

}

# Initialize and push to GitHub
Expand Down

0 comments on commit 63045a5

Please sign in to comment.