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

@@ -18,6 +18,9 @@ build() {
}
install() {
cp doomgeneric/doomgeneric "${BANAN_SYSROOT}/bin/doom" || exit 1
cp ../doom1.wad "$BANAN_SYSROOT/home/user/" || exit 1
mkdir -p "$DESTDIR/usr/bin"
cp -vf doomgeneric/doomgeneric "$DESTDIR/usr/bin/doom"
mkdir -p "$DESTDIR/home/user"
cp -vf ../doom1.wad "$DESTDIR/home/user/"
}