diff options
author | B. Watson <yalhcru@gmail.com> | 2017-12-21 19:55:33 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-12-23 07:12:47 +0700 |
commit | 662b7ab6ca30d86518b6f74c0a9a07204264e1dd (patch) | |
tree | e838025ae9c7000ae0bdd170f55fca6af1010754 /games/oblige/oblige.SlackBuild | |
parent | 45b7b9ba8ae30fa446e8f339fffc560fcb02f33f (diff) | |
download | slackbuilds-662b7ab6ca30d86518b6f74c0a9a07204264e1dd.tar.gz |
games/oblige: Updated for version 7.70.
Signed-off-by: B. Watson <yalhcru@gmail.com>
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 |