Files
2024-09-05 17:56:15 +00:00

15 lines
292 B
Bash

do_vdpm_fetch () {
if [ -d "$1" ]; then
rm -r "$1"
fi
mkdir "$1"
cd "$1"
wget --progress=dot "https://github.com/vitasdk/packages/releases/download/master/$1.tar.xz" -O - | tar --no-same-owner --no-same-permissions -xJ
do_patch
}
do_vdpm_install () {
cp -a . "$DESTDIR/$PREFIX/"
}