getting correct arch installations
This commit is contained in:
parent
dee904f51a
commit
d0758042f1
1 changed files with 13 additions and 8 deletions
21
rofi.sh
21
rofi.sh
|
@ -46,16 +46,16 @@
|
|||
depsDebian=(git build-essential gcc meson flex bison autoconf automake pkg-config libgdk-pixbuf-xlib-2.0-dev libgdk-pixbuf2.0-dev libxkbcommon-dev libxkbcommon-x11-dev libxcb-xkb-dev libxcb-util-dev libxcb-ewmh-dev libxcb-icccm4-dev libxcb-randr0-dev libxcb-cursor-dev libxcb-xinerama0-dev libglib2.0-dev libpango1.0-dev libstartup-notification0-dev wayland-protocols librust-wayland-protocols-dev)
|
||||
depsFedora=()
|
||||
depsOpensuse=()
|
||||
depsArch=(git base-devel)
|
||||
depsArch=(git base-devel libstartup-notification-1.0)
|
||||
depsAlpine=()
|
||||
|
||||
declare -A deps=(
|
||||
[debian]="depsDebian"
|
||||
[ubuntu]="depsUbuntu"
|
||||
[fedora]="depsFedora"
|
||||
[ubuntu]="depsDebian"
|
||||
# [fedora]="depsFedora"
|
||||
[arch]="depsArch"
|
||||
[alpine]="depsAlpine"
|
||||
[opensuse]="depsOpensuse"
|
||||
# [alpine]="depsAlpine"
|
||||
# [opensuse]="depsOpensuse"
|
||||
)
|
||||
|
||||
# INFO:
|
||||
|
@ -89,13 +89,13 @@
|
|||
# echo_error "DEBUG: "
|
||||
# ls
|
||||
|
||||
echo_pkg build "Building $PACKAGE now.."
|
||||
echo_pkg build
|
||||
|
||||
run meson setup build
|
||||
|
||||
run ninja -C build
|
||||
|
||||
echo_pkg install "Installing $PACKAGE"
|
||||
echo_pkg install
|
||||
ninja -C build install
|
||||
|
||||
echo_note "Cleaning up old $rofiTemp directory.."
|
||||
|
@ -111,7 +111,12 @@
|
|||
echo_error "Error when installing dependencies.."
|
||||
fi
|
||||
|
||||
rofi_clone_and_build </dev/tty
|
||||
case "$distro" in
|
||||
debian | ubuntu)
|
||||
rofi_clone_and_build </dev/tty
|
||||
;;
|
||||
arch) _install rofi ;;
|
||||
esac
|
||||
}
|
||||
|
||||
if getImports; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue