diff options
author | B. Watson <yalhcru@gmail.com> | 2014-08-25 07:38:31 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-08-30 14:19:20 +0700 |
commit | 283a4862068e5ca4e02104d56ec6963f544b3b33 (patch) | |
tree | a77880a5ba3a1696b17d107f5eff46461d7ee84a /games/xroar/xroar.SlackBuild | |
parent | 0f26f0ba690d46d44242ec62ff1d2def45a822dc (diff) |
games/xroar: Updated for version 0.32.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/xroar/xroar.SlackBuild')
-rw-r--r-- | games/xroar/xroar.SlackBuild | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/games/xroar/xroar.SlackBuild b/games/xroar/xroar.SlackBuild index d3a37f586ccd9..49d407a9201e2 100644 --- a/games/xroar/xroar.SlackBuild +++ b/games/xroar/xroar.SlackBuild @@ -6,6 +6,10 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20140824 bkw: +# - update for 0.32 +# - somehow I lost the POD source to the man page, recreate from xroar.6 + # 20140313 bkw: # - update for 0.31.1 # - change download link to upstream's, looks OK now @@ -26,7 +30,7 @@ # - mention gtkglext in README as an optional dep PRGNAM=xroar -VERSION=${VERSION:-0.31.1} +VERSION=${VERSION:-0.32} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -150,6 +154,15 @@ cp -a COPYING* ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION make doc/$PRGNAM.html cp doc/$PRGNAM.html doc/*png $PKG/usr/doc/$PRGNAM-$VERSION +# Don't keep duplicates of the doc images, use symlinks +cd $PKG/usr/info +for i in *.png; do + if [ -e ../doc/$PRGNAM-$VERSION/$i ]; then + rm -f $i + ln -s ../doc/$PRGNAM-$VERSION/$i . + fi +done + cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |