From 662b7ab6ca30d86518b6f74c0a9a07204264e1dd Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 21 Dec 2017 19:55:33 -0500 Subject: games/oblige: Updated for version 7.70. Signed-off-by: B. Watson --- games/oblige/oblige.SlackBuild | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'games/oblige/oblige.SlackBuild') diff --git a/games/oblige/oblige.SlackBuild b/games/oblige/oblige.SlackBuild index 0006462ed1..160b214651 100644 --- a/games/oblige/oblige.SlackBuild +++ b/games/oblige/oblige.SlackBuild @@ -6,6 +6,9 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20171220 bkw: +# - update for 7.70. Upstream calls this the final release :( + # 20170817 bkw: # - update for 7.666. Sadly this might be the last update, upstream is # tired of working on oblige :( @@ -35,7 +38,7 @@ # in /usr/share. PRGNAM=oblige -VERSION=${VERSION:-7.666} +VERSION=${VERSION:-7.70} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -95,6 +98,12 @@ find -L . \ # 'make install' would install the .desktop and icon to /usr, not PREFIX. sed -i '/xdg-/d' Makefile +# if there's no prefabs/ dir, don't try to install it. doing it this +# way allows this script to still build oblige 7.666, if needed. +if [ ! -d prefabs ]; then + sed -i '/\/prefabs/d' Makefile +fi + make PREFIX=/usr OPTIMISE="$SLKCFLAGS" make install PREFIX=$PKG/usr -- cgit v1.2.3