diff options
Diffstat (limited to 'games/oblige/oblige.SlackBuild')
-rw-r--r-- | games/oblige/oblige.SlackBuild | 11 |
1 files changed, 10 insertions, 1 deletions
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 |