diff options
Diffstat (limited to 'games/freedroidrpg/freedroidrpg.SlackBuild')
-rw-r--r-- | games/freedroidrpg/freedroidrpg.SlackBuild | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/games/freedroidrpg/freedroidrpg.SlackBuild b/games/freedroidrpg/freedroidrpg.SlackBuild index 2c01d89d627a..c588cab3dd63 100644 --- a/games/freedroidrpg/freedroidrpg.SlackBuild +++ b/games/freedroidrpg/freedroidrpg.SlackBuild @@ -3,11 +3,11 @@ # Slackbuild for freedroidrpg # Written by JK Wood <joshuakwood@gmail.com> -# This script is released under the Dog-on-Fire License: +# Slackbuild is released under the Dog-on-Fire License: # If use of this script causes your dog to catch on fire, # you agree to send me five dollars. Or a picture # of the dog on fire. -# Otherwise, you're on your own. I've tested it +# Otherwise, you're on your own. I've tested the script # on my own computer, and it hasn't broken anything. # So if it does it on your computer, that falls in # the realm of "Not my problem." @@ -17,10 +17,15 @@ # wrong and prevent it from happening in the future. # In which case, I may just send YOU five dollars. +# Oh, and feel free to copy it and modify it as you +# see fit. Or as I see fit. Or as I fit. Although +# that is unlikely, as I am rather tall. + # Modified by the SlackBuilds.org project. PRGNAM=freedroidrpg -VERSION=0.14.1 +SRCNAM=freedroidRPG +VERSION=0.15.1 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -54,7 +59,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find . \ @@ -80,6 +85,8 @@ make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +find $PKG/usr/man -type f -exec gzip -9 {} \; + mkdir -p $PKG/usr/share/applications cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop |