-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathget-dependencies.sh
More file actions
33 lines (26 loc) · 957 Bytes
/
get-dependencies.sh
File metadata and controls
33 lines (26 loc) · 957 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
#!/bin/sh
set -eu
ARCH=$(uname -m)
echo "Installing package dependencies..."
echo "---------------------------------------------------------------"
pacman -Syu --noconfirm \
kvantum \
lua \
lxqt-qtplugin \
qt6ct
echo "Installing debloated packages..."
echo "---------------------------------------------------------------"
get-debloated-pkgs --add-common --prefer-nano ffmpeg-mini
# Comment this out if you need an AUR package
#make-aur-package PACKAGENAME
# If the application needs to be manually built that has to be done down here
# if you also have to make nightly releases check for DEVEL_RELEASE = 1
#
if [ "${DEVEL_RELEASE-}" = 1 ]; then
PRE_BUILD_CMDS='sed -i "\|io.mgba.mGBA.desktop|d" ./PKGBUILD' make-aur-package mgba-git
pacman -Q mgba-qt-git | awk '{print $2; exit}' > ~/version
else
package=mgba-qt
pacman -S --noconfirm "$package"
pacman -Q "$package" | awk '{print $2; exit}' > ~/version
fi