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)
|
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=()
|
depsFedora=()
|
||||||
depsOpensuse=()
|
depsOpensuse=()
|
||||||
depsArch=(git base-devel)
|
depsArch=(git base-devel libstartup-notification-1.0)
|
||||||
depsAlpine=()
|
depsAlpine=()
|
||||||
|
|
||||||
declare -A deps=(
|
declare -A deps=(
|
||||||
[debian]="depsDebian"
|
[debian]="depsDebian"
|
||||||
[ubuntu]="depsUbuntu"
|
[ubuntu]="depsDebian"
|
||||||
[fedora]="depsFedora"
|
# [fedora]="depsFedora"
|
||||||
[arch]="depsArch"
|
[arch]="depsArch"
|
||||||
[alpine]="depsAlpine"
|
# [alpine]="depsAlpine"
|
||||||
[opensuse]="depsOpensuse"
|
# [opensuse]="depsOpensuse"
|
||||||
)
|
)
|
||||||
|
|
||||||
# INFO:
|
# INFO:
|
||||||
|
@ -89,13 +89,13 @@
|
||||||
# echo_error "DEBUG: "
|
# echo_error "DEBUG: "
|
||||||
# ls
|
# ls
|
||||||
|
|
||||||
echo_pkg build "Building $PACKAGE now.."
|
echo_pkg build
|
||||||
|
|
||||||
run meson setup build
|
run meson setup build
|
||||||
|
|
||||||
run ninja -C build
|
run ninja -C build
|
||||||
|
|
||||||
echo_pkg install "Installing $PACKAGE"
|
echo_pkg install
|
||||||
ninja -C build install
|
ninja -C build install
|
||||||
|
|
||||||
echo_note "Cleaning up old $rofiTemp directory.."
|
echo_note "Cleaning up old $rofiTemp directory.."
|
||||||
|
@ -111,7 +111,12 @@
|
||||||
echo_error "Error when installing dependencies.."
|
echo_error "Error when installing dependencies.."
|
||||||
fi
|
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
|
if getImports; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue