games/blupimania: Fix 32bit build.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrew Clemons 2024-01-06 07:58:29 +09:00 committed by Willy Sudiarto Raharjo
parent e3fa6ee419
commit 9841a26573
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -169,7 +169,7 @@ popd
## End of SDL2 block
BMDIR=$PKG/usr/share/blupimania
cp $WORKDIR/install/lib64/*.so* $BMDIR
cp $WORKDIR/install/lib$LIBDIRSUFFIX/*.so* $BMDIR
# blupimania expects to find its files in (binary path)/../share/blupimania
# Hence we are installing blupimania binary in /usr/libexec
# and a shell wrapper in /usr/games.
@ -182,8 +182,8 @@ exec "$BINDIR/blupimania" "\$@"
EOF
chmod 755 $PKG/usr/games/blupimania
export SDL2_image_DIR=$WORKDIR/install/lib64/cmake/SDL2_image
export SDL2_mixer_DIR=$WORKDIR/install/lib64/cmake/SDL2_mixer
export SDL2_image_DIR=$WORKDIR/install/lib$LIBDIRSUFFIX/cmake/SDL2_image
export SDL2_mixer_DIR=$WORKDIR/install/lib$LIBDIRSUFFIX/cmake/SDL2_mixer
SLKCFLAGS="${SLKCFLAGS} -L$BMDIR -iquote${WORKDIR}/install/include/SDL2"
export CMAKE_INSTALL_PREFIX=${WORKDIR}/install
mkdir -p build