games/hexglass: Fix 32-bit build.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2022-03-20 12:09:02 -04:00 committed by Willy Sudiarto Raharjo
parent 80d7f8b919
commit 6933d27dd2
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -22,6 +22,7 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20220320 bkw: Modified by SlackBuilds.org, fix 32-bit build.
# 20220220 bkw: Modified by SlackBuilds.org, BUILD=3:
# - fix github filename mess. upstream includes the project name as the
# first part of the tag name, so the correct name really is:
@ -89,7 +90,7 @@ find -L . \
qmake-qt4
# fix path installation
sed -i 's/INSTALL\_ROOT)\/usr\/lib64\/qt4\/bin/INSTALL\_ROOT)\/usr\/games/g' Makefile
sed -i 's/INSTALL\_ROOT)\/usr\/lib[^\/]*\/qt4\/bin/INSTALL\_ROOT)\/usr\/games/g' Makefile
make
make INSTALL_ROOT=$PKG install