#! /bin/zsh # # this file: # https://dataswamp.org/~incal/conf/.zsh/raylib ray-dep () { sudo apt install build-essential git sudo apt install libasound2-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev libxcursor-dev libxinerama-dev libwayland-dev libxkbcommon-dev } ray-src () { cd ~/src git clone --depth 1 https://github.com/raysan5/raylib.git raylib } ray-compile () { make PLATFORM=PLATFORM_DESKTOP RAYLIB_LIBTYPE=SHARED } ray-install () { sudo make install RAYLIB_LIBTYPE=SHARED }