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 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
|
#!/bin/bash
RUN=0
MAKE=0
DEV=0
OPT=0
ARGC="$#"
while test $# -gt 0
do
case "$1" in
run)
RUN=1
;;
make)
MAKE=1
;;
dev)
DEV=1
;;
opt)
OPT=1
;;
esac
shift
done
if [[ "$ARGC" == "0" ]]; then
RUN=1;
MAKE=1;
DEV=1;
OPT=0;
fi
if [[ $RUN == "1" ]]; then
echo "Install packages needed for execution"
sudo pacman -S \
libwnck3 \
libkeybinder3 \
libnotify \
python-cairo \
python-dbus \
python-gobject \
python-setuptools-scm \
vte3
fi
if [[ $MAKE == "1" ]]; then
echo "Install packages needed for making guake"
sudo pacman -S \
gettext \
gsettings-desktop-schemas \
make \
pandoc \
python-pipenv
fi
if [[ $DEV == "1" ]]; then
echo "Install needed development packages"
sudo pacman -S \
dconf-editor \
glade \
poedit \
gnome-tweak-tool
fi
if [[ $OPT == "1" ]]; then
echo "Install packages optional for execution"
sudo pacman -S \
libutempter \
numix-gtk-theme
fi
|