-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathget-dependencies.sh
More file actions
37 lines (32 loc) · 1020 Bytes
/
get-dependencies.sh
File metadata and controls
37 lines (32 loc) · 1020 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/sh
set -eu
ARCH=$(uname -m)
echo "Installing package dependencies..."
echo "---------------------------------------------------------------"
pacman -Syu --noconfirm \
check \
cppcheck \
gvfs \
meson \
pango \
startup-notification \
wget \
xcb-util-cursor \
xcb-util \
xcb-util-keysyms \
xcb-util-wm \
xcb-util-xrm \
xkeyboard-config \
wayland-protocols
echo "Installing debloated packages..."
echo "---------------------------------------------------------------"
get-debloated-pkgs --add-common --prefer-nano
echo "Building rofi..."
echo "---------------------------------------------------------------"
git clone --depth 1 "https://github.com/davatorium/rofi.git" ./rofi && (
cd ./rofi
meson -Dwayland=enabled -Dxcb=enabled --prefix /usr . build
meson compile -C build
meson install -C build
)
/usr/bin/rofi -v | awk -F'[- ]' '{print $2; exit}' > ~/version