summaryrefslogtreecommitdiffstats
path: root/games/xroar/xroar.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/xroar/xroar.SlackBuild')
-rw-r--r--games/xroar/xroar.SlackBuild15
1 files changed, 14 insertions, 1 deletions
diff --git a/games/xroar/xroar.SlackBuild b/games/xroar/xroar.SlackBuild
index d3a37f586c..49d407a920 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