File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh
22
3+ set -ex
4+ ARCH=" $( uname -m) "
5+
6+ echo " Installing build dependencies..."
7+ echo " ---------------------------------------------------------------"
8+
9+ case " $ARCH " in
10+ ' x86_64' ) PKG_TYPE=' x86_64.pkg.tar.zst' ;;
11+ ' aarch64' ) PKG_TYPE=' aarch64.pkg.tar.xz' ;;
12+ ' ' |* ) echo " Unknown arch: $ARCH " ; exit 1;;
13+ esac
14+
15+ LIBXML_URL=" https://github.com/pkgforge-dev/llvm-libs-debloated/releases/download/continuous/libxml2-iculess-$PKG_TYPE "
16+
317pacman -Syu --noconfirm \
418 base-devel \
519 bison \
@@ -25,3 +39,14 @@ pacman -Syu --noconfirm \
2539 xcb-util-wm \
2640 xcb-util-xrm \
2741 xkeyboard-config
42+
43+
44+ echo " Installing debloated pckages..."
45+ echo " ---------------------------------------------------------------"
46+ wget --retry-connrefused --tries=30 " $LIBXML_URL " -O ./libxml2-iculess.pkg.tar.zst
47+
48+ pacman -U --noconfirm ./* .pkg.tar.zst
49+ rm -f ./* .pkg.tar.zst
50+
51+ echo " All done!"
52+ echo " ---------------------------------------------------------------"
You can’t perform that action at this time.
0 commit comments