File prepare.sh of Package rpcsx
#!/bin/bash
set -xe
USER="azkali"
REPO="rpcsx"
BRANCH="armv8.0_test"
git clone -b ${BRANCH} --recurse-submodules -j$(nproc) https://github.com/${USER}/${REPO}
cd ${REPO}
git pull --recurse-submodules -j$(nproc)
git submodule update --init --recursive
cd ..
rm -rf ${REPO}/.git ${REPO}.tar.gz
tar czf ${REPO}.tar.gz ${REPO}
rm -rf ${REPO}