-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathget-dependencies.sh
More file actions
39 lines (29 loc) · 1.25 KB
/
Copy pathget-dependencies.sh
File metadata and controls
39 lines (29 loc) · 1.25 KB
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
#!/bin/sh
set -eu
ARCH=$(uname -m)
echo "Installing package dependencies..."
echo "---------------------------------------------------------------"
# pacman -Syu --noconfirm PACKAGESHERE
echo "Installing debloated packages..."
echo "---------------------------------------------------------------"
get-debloated-pkgs --add-common --prefer-nano
# the app is hardcoded to compile the doc file using /usr/share/sgml/docbook
# but on archlinux that is in /usr/share/xml/docbook
mkdir -p /usr/share/sgml
ln -s /usr/share/xml/docbook /usr/share/sgml
# the aur package disabled building the doc and manpage due to the above issue lol
export PRE_BUILD_CMDS="sed -i -e 's|-C doc manpage||' ./PKGBUILD"
# Comment this out if you need an AUR package
make-aur-package trelby
# for some reason when xvfb-run is used in quick-sharun the app somehow
# ends up dlopening mesa, which makes no sense at all, this does not happen when
# deploying locally, and I can reproduce the issue once I try with xvfb-run
pacman -Rdd --noconfirm mesa
# 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
# nightly build steps
# else
# regular build steps
# fi