--- /dev/null
+#!/bin/bash
+mkdir -p ~/opt/lsoc_mesa
+cd ~/opt
+git clone https://gitlab.freedesktop.org/mesa/drm.git
+cd drm
+mkdir build && cd build
+meson -Dbuildtype=release -Dprefix=/home/$USER/opt/lsoc_mesa ..
+ninja install
+export PKG_CONFIG_PATH=~/opt/lsoc_mesa/lib/x86_64-linux-gnu/pkgconfig/
+cd ~/opt
+git clone https://gitlab.freedesktop.org/mesa/mesa.git
+cd mesa
+mkdir build && cd build
+meson -Dbuildtype=debug -Dprefix=/home/$USER/opt/lsoc_mesa
+ninja install