about summary refs log tree commit diff
diff options
context:
space:
mode:
authormarcsadler <146946010+marcsadler@users.noreply.github.com>2024-03-03 00:20:13 +1100
committerGitHub <noreply@github.com>2024-03-03 00:20:13 +1100
commitb505d847dc81fb5ba68a1ec3f38117ff3b8dcb9c (patch)
tree993dc8096cf389c4b9850960a9a9bc8bd8796345
parent6ed091a15c22fe640c3b6b0f443e5d7c044635cd (diff)
keyd on Arch is now packaged in the official repo
For Arch, install keyd from repo instead of AUR
-rwxr-xr-xinstall.sh8
1 files changed, 1 insertions, 7 deletions
diff --git a/install.sh b/install.sh
index 1481726..23488d1 100755
--- a/install.sh
+++ b/install.sh
@@ -38,9 +38,6 @@ if ! [ -f /usr/bin/keyd ]; then
 		deb)
 			$privesc apt install -y build-essential git &>> pkg.log
 			;;
-		arch)
-			$privesc pacman -S --noconfirm base-devel git &>> pkg.log
-			;;
 		fedora)
 			[ ! $FEDORA_HAS_KEYD -eq 1 ] && $privesc dnf groupinstall -y "Development Tools" "Development Libraries" &>> pkg.log
 			;;
@@ -52,10 +49,7 @@ if ! [ -f /usr/bin/keyd ]; then
 			$privesc zypper --non-interactive install keyd &>> pkg.log
 			;;
 		arch)
-			git clone https://aur.archlinux.org/keyd.git &>> pkg.log
-			cd keyd
-			makepkg -si --noconfirm &>> pkg.log
-			cd ..
+			$privesc pacman -S --noconfirm keyd &>> pkg.log
 			;;
 		alpine)
 			$privesc apk add --no-interactive keyd &>> pkg.log