ports: Allow build scripts install to custom path

This will maybe allow packaging ports :)
This commit is contained in:
2026-05-25 15:52:22 +03:00
parent c79e412215
commit bb170ba613
50 changed files with 92 additions and 82 deletions

View File

@@ -31,9 +31,9 @@ build() {
}
install() {
cp -v build/quake2-soft "${BANAN_SYSROOT}/bin/quake2" || exit 1
mkdir -p "$DESTDIR/usr/bin"
cp -vf build/quake2-soft "$DESTDIR/usr/bin/quake2" || exit 1
baseq2_tar=$(realpath ../baseq2.tar.gz || exit 1)
cd "$BANAN_SYSROOT/home/user/"
tar xf $baseq2_tar
mkdir -p "$DESTDIR/home/user"
tar xf ../baseq2.tar.gz -C "$DESTDIR/home/user/"
}