Benign arch Download

labymodlauncher-bin 3.0.11-1

Standard Arch Linux package build script

“A launcher for LabyMod, a Minecraft client that adds a bunch of useful features (official)”

Local ./ file invocationShell command execution primitive
SHA-256ec047dd46422718eb3da3ee0aa7e16dc092a9e45625868377e9f49d3eead9d09

Evidence

chmod +x (make executable) lines 15–18
15package() {
16 cd "${srcdir}"
17 chmod +x "${pkgname}-${pkgver}.AppImage"
18 ./"${pkgname}-${pkgver}.AppImage" --appimage-extract >/dev/null
Shell chmod 7xx (executable) lines 20–23
20 install -dm755 "${pkgdir}/opt/labymodlauncher-bin"
21 cp -a squashfs-root/. "${pkgdir}/opt/labymodlauncher-bin/"
22 chmod -R a+rX "${pkgdir}/opt/labymodlauncher-bin"
23 chmod 4755 "${pkgdir}/opt/labymodlauncher-bin/chrome-sandbox"
References /bin/sh (Bourne shell) lines 25–27
25 install -dm755 "${pkgdir}/usr/bin"
26 printf '%s\n' '#!/bin/sh' 'export APPDIR=/opt/labymodlauncher-bin' 'export LD_LIBRARY_PATH="${APPDIR}/usr/lib:${LD_LIBRARY_PATH}"' 'export XDG_DATA_DIRS="${APPDIR}/usr/share/:${XDG_DATA_DIRS}:/usr/share/gnome:/usr/local/share/:/usr/share/"' 'export GSETTINGS_SCHEMA_DIR="${APPDIR}/usr/share/glib-2.0/schemas:${GSETTINGS_SCHEMA_DIR}"' 'exec "${APPDIR}/labymodlauncher" "$@"' > "${pkgdir}/usr/bin/labymodlauncher"
27 chmod 755 "${pkgdir}/usr/bin/labymodlauncher"
Search for image file extensions lines 29–37
29 desktop=$(find squashfs-root -maxdepth 1 -name '*.desktop' | head -n1)
30 if [ -n "${desktop}" ]; then
31 install -Dm644 "${desktop}" "${pkgdir}/usr/share/applications/labymodlauncher-bin.desktop"
32 sed -i "s|^Exec=.*|Exec=labymodlauncher %U|; s|^Icon=.*|Icon=labymodlauncher-bin|" "${pkgdir}/usr/share/applications/labymodlauncher-bin.desktop"
33 fi
34 icon=$(find squashfs-root -maxdepth 1 -name '*.png' | head -n1)
35 [ -z "${icon}" ] && [ -f squashfs-root/.DirIcon ] && icon=squashfs-root/.DirIcon
36 if [ -n "${icon}" ]; then
37 install -Dm644 "${icon}" "${pkgdir}/usr/share/pixmaps/labymodlauncher-bin.png"

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.