From 0d69918252e14117e36267b04385dd938fff775a Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 2 Oct 2022 15:35:29 -0500 Subject: [PATCH] remove base-devel from PKGBUILD because makepkg will not detect that it is installed as a dependency for some reason.It is only needed for aur stuff so I just added it to aur-install.sh --- installers/arch/PKGBUILD | 4 +--- installers/arch/SCRIPTS/aur-install.sh | 1 + installers/arch/install.sh | 4 +++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/installers/arch/PKGBUILD b/installers/arch/PKGBUILD index 1c3ee00..87c8552 100644 --- a/installers/arch/PKGBUILD +++ b/installers/arch/PKGBUILD @@ -1,7 +1,7 @@ pkgname="ajh-setup" pkgver="1.0.0" pkgver="1" -pkgrel="1" +pkgrel="2" pkgdesc="Install my config for Arch based systems." arch=("x86_64") @@ -53,8 +53,6 @@ depends=( "clang" "python-pip" "shellcheck" -"fakeroot" -"base-devel" #multimedia "pavucontrol" diff --git a/installers/arch/SCRIPTS/aur-install.sh b/installers/arch/SCRIPTS/aur-install.sh index 93c7425..30a476f 100755 --- a/installers/arch/SCRIPTS/aur-install.sh +++ b/installers/arch/SCRIPTS/aur-install.sh @@ -26,6 +26,7 @@ wayland-idle-inhibitor-git tofi librewolf-bin" +sudo pacman -S base-devel fakeroot mkdir -p "$YAY_INSTALL_DIR" git clone https://aur.archlinux.org/yay.git "$YAY_INSTALL_DIR" diff --git a/installers/arch/install.sh b/installers/arch/install.sh index 4c93e03..aa0a4bf 100755 --- a/installers/arch/install.sh +++ b/installers/arch/install.sh @@ -75,7 +75,6 @@ configuration() { chsh -s /bin/zsh "$USER" #setup .zprofile and zsh history file - cd ~ || return ln -s ~/.profile ~/.zprofile mkdir -p ~/.cache/zsh touch ~/.cache/zsh/history @@ -108,6 +107,8 @@ configuration() { } +sudo pacman -Syu + makepkg -si #do any installation steps here @@ -124,6 +125,7 @@ read input [ "$input" = "y" ] && wireless echo "installing AUR packages..." +echo "$PWD" sh ./SCRIPTS/aur-install.sh echo "Done installing AUR packages." echo ""