summaryrefslogtreecommitdiff
path: root/games/stella/stella.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/stella/stella.SlackBuild')
-rw-r--r--games/stella/stella.SlackBuild19
1 files changed, 12 insertions, 7 deletions
diff --git a/games/stella/stella.SlackBuild b/games/stella/stella.SlackBuild
index e1743fd7de..8c3aa52467 100644
--- a/games/stella/stella.SlackBuild
+++ b/games/stella/stella.SlackBuild
@@ -4,6 +4,8 @@
# Written by Luis Henrique <lmello.009@gmail.com>
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
# Modified by B. Watson <yalhcru@gmail.com>
# 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.