File tree Expand file tree Collapse file tree 1 file changed +17
-36
lines changed Expand file tree Collapse file tree 1 file changed +17
-36
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh
22
3- set -ex
3+ set -eux
44
5- sed -i ' s/DownloadUser/#DownloadUser/g' /etc/pacman.conf
6-
7- if [ " $( uname -m) " = ' x86_64' ]; then
8- PKG_TYPE=' x86_64.pkg.tar.zst'
9- else
10- PKG_TYPE=' aarch64.pkg.tar.xz'
11- fi
12-
13- LLVM_URL=" https://github.com/pkgforge-dev/llvm-libs-debloated/releases/download/continuous/llvm-libs-nano-$PKG_TYPE "
14- LIBXML_URL=" https://github.com/pkgforge-dev/llvm-libs-debloated/releases/download/continuous/libxml2-iculess-$PKG_TYPE "
15- OPUS_URL=" https://github.com/pkgforge-dev/llvm-libs-debloated/releases/download/continuous/opus-nano-$PKG_TYPE "
5+ EXTRA_PACKAGES=" https://raw.githubusercontent.com/pkgforge-dev/Anylinux-AppImages/refs/heads/main/useful-tools/get-debloated-pkgs.sh"
166
177echo " Installing dependencies..."
188echo " ---------------------------------------------------------------"
199pacman -Syu --noconfirm \
20- base-devel \
21- curl \
22- desktop-file-utils \
23- desmume \
24- git \
25- libdecor \
26- libxss \
27- mesa \
28- patchelf \
29- pipewire-audio \
30- pulseaudio \
31- pulseaudio-alsa \
32- strace \
33- wget \
10+ base-devel \
11+ desmume \
12+ git \
13+ libdecor \
14+ libxss \
15+ patchelf \
16+ pipewire-audio \
17+ pulseaudio \
18+ pulseaudio-alsa \
19+ strace \
20+ wget \
3421 xorg-server-xvfb \
3522 zsync
3623
37- echo " Installing debloated pckages..."
38- echo " ---------------------------------------------------------------"
39- wget --retry-connrefused --tries=30 " $LLVM_URL " -O ./llvm-libs.pkg.tar.zst
40- wget --retry-connrefused --tries=30 " $LIBXML_URL " -O ./libxml2.pkg.tar.zst
41- wget --retry-connrefused --tries=30 " $OPUS_URL " -O ./opus-nano.pkg.tar.zst
42-
43- pacman -U --noconfirm ./* .pkg.tar.zst
44- rm -f ./* .pkg.tar.zst
45-
46- echo " All done!"
24+ echo " Installing debloated packages..."
4725echo " ---------------------------------------------------------------"
26+ wget --retry-connrefused --tries=30 " $EXTRA_PACKAGES " -O ./get-debloated-pkgs.sh
27+ chmod +x ./get-debloated-pkgs.sh
28+ ./get-debloated-pkgs.sh --add-opengl gtk3-mini libxml2-mini opus-mini
You can’t perform that action at this time.
0 commit comments