summaryrefslogtreecommitdiff
path: root/games/unknown-horizons/unknown-horizons.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2015-01-09 22:53:54 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-01-10 07:45:57 +0700
commit9a132a15629af2534e349964892a8555888a93b3 (patch)
tree627556475882230139bb48000a65442c63928344 /games/unknown-horizons/unknown-horizons.SlackBuild
parentd8221c02dce39e7391b5d6f92e57b33580842cef (diff)
downloadslackbuilds-9a132a15629af2534e349964892a8555888a93b3.tar.gz
games/unknown-horizons: Updated for version 2014.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/unknown-horizons/unknown-horizons.SlackBuild')
-rw-r--r--games/unknown-horizons/unknown-horizons.SlackBuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/games/unknown-horizons/unknown-horizons.SlackBuild b/games/unknown-horizons/unknown-horizons.SlackBuild
index 1f64f54007..b8e3b85fec 100644
--- a/games/unknown-horizons/unknown-horizons.SlackBuild
+++ b/games/unknown-horizons/unknown-horizons.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=unknown-horizons
-VERSION=${VERSION:-2013.3}
+VERSION=${VERSION:-2014.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,13 +69,15 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+patch -p1 < $CWD/coloroverlaycomponent.patch
+
python setup.py install --root=$PKG
mkdir -p $PKG/usr/share/applications
install -D -m644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop
mkdir -p $PKG/usr/share/pixmaps/
-install -D -m644 content/$PRGNAM.xpm $PKG/usr/share/pixmaps/$PRGNAM.svg
+install -D -m644 content/gfx/uh.png $PKG/usr/share/pixmaps/$PRGNAM.png
mkdir -p $PKG/usr/man
mv $PKG/usr/share/man/man6 $PKG/usr/man