ports/doom: download doom1.wad to common directory between archs

This commit is contained in:
Bananymous 2024-11-15 20:50:40 +02:00
parent c96aee5740
commit 51bfe4252d
1 changed files with 3 additions and 3 deletions

View File

@ -9,13 +9,13 @@ configure() {
} }
build() { build() {
if [ ! -f doom1.wad ]; then if [ ! -f ../doom1.wad ]; then
wget https://distro.ibiblio.org/slitaz/sources/packages/d/doom1.wad || exit 1 wget https://distro.ibiblio.org/slitaz/sources/packages/d/doom1.wad -O ../doom1.wad || exit 1
fi fi
make --directory doomgeneric --file Makefile.banan_os -j$(nproc) || exit 1 make --directory doomgeneric --file Makefile.banan_os -j$(nproc) || exit 1
} }
install() { install() {
cp doomgeneric/build/doom "${BANAN_SYSROOT}/bin/" || exit 1 cp doomgeneric/build/doom "${BANAN_SYSROOT}/bin/" || exit 1
cp ./doom1.wad "$BANAN_SYSROOT/home/user/" || exit 1 cp ../doom1.wad "$BANAN_SYSROOT/home/user/" || exit 1
} }