mirror of
https://github.com/yuzu-emu/ext-linux-bin.git
synced 2024-12-22 20:55:37 +00:00
23 lines
443 B
Bash
23 lines
443 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
# This script is meant to make it easy to rebuild packages using the
|
||
|
# linux-fresh yuzu-emu container.
|
||
|
|
||
|
# Run this from within the source directory
|
||
|
|
||
|
THIS=$(readlink -e $0)
|
||
|
USER_ID=${1}
|
||
|
GROUP_ID=${2}
|
||
|
VERSION=5_15_2
|
||
|
BASE_NAME=$(readlink -e $(pwd) | sed 's/.*\///g')
|
||
|
ARCHIVE_NAME=${BASE_NAME}_${VERSION}.tar.xz
|
||
|
NUM_CORES=$(nproc)
|
||
|
|
||
|
|
||
|
mkdir build || true
|
||
|
cd build
|
||
|
mkdir out || true
|
||
|
../configure
|
||
|
make -j${NUM_CORES} install DESTDIR=out
|
||
|
|