From e70829192d6d9e4f86d8bc6a85299f47094d44c0 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Fri, 27 Mar 2015 07:51:45 +0700 Subject: games/stella: Updated for version 4.6. Signed-off-by: Willy Sudiarto Raharjo --- games/stella/stella.SlackBuild | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'games/stella/stella.SlackBuild') diff --git a/games/stella/stella.SlackBuild b/games/stella/stella.SlackBuild index e1743fd7de47a..8c3aa52467645 100644 --- a/games/stella/stella.SlackBuild +++ b/games/stella/stella.SlackBuild @@ -4,6 +4,8 @@ # Written by Luis Henrique +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. + # Modified by B. Watson # 20140915 bkw: # - took over maintenance @@ -15,11 +17,14 @@ # - add MIME type for .a26 # - StartupNotify=false in .desktop -# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20150322 bkw: +# - update for 4.6 +# - replace stale stella 3.8 man page from Debian with updated one for 4.6. +# - get rid of unused --libdir configure option PRGNAM=stella -VERSION=${VERSION:-4.1.1} -BUILD=${BUILD:-2} +VERSION=${VERSION:-4.6} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -68,7 +73,6 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --datadir=/usr/share \ --disable-static \ @@ -82,10 +86,11 @@ ln -s \ ../icons/hicolor/128x128/apps/$PRGNAM.png \ $PKG/usr/share/pixmaps/$PRGNAM.png -# man page borrowed from Debian +# Man page written for this build. +# Upstream will be shipping a man page starting with 4.7, so I can +# soon quit including one here. mkdir -p $PKG/usr/man/man6 -sed "s,/usr/share/doc/stella/,/usr/doc/$PRGNAM-$VERSION/," $CWD/$PRGNAM.6 \ - | gzip -9c > $PKG/usr/man/man6/$PRGNAM.6.gz +gzip -9c < $CWD/$PRGNAM.6 > $PKG/usr/man/man6/$PRGNAM.6.gz # MIME type for .a26 extension. Not going to add stuff like .bin or .rom, # since they could be anything. -- cgit v1.2.3