ports: Allow build scripts install to custom path

This will maybe allow packaging ports :)
This commit is contained in:
2026-05-26 03:31:20 +03:00
parent c79e412215
commit bb170ba613
50 changed files with 92 additions and 82 deletions
+5 -2
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/"
}