summaryrefslogtreecommitdiffstats
path: root/games/freedroidrpg/freedroidrpg.SlackBuild
diff options
context:
space:
mode:
author JK Wood2012-12-02 19:01:29 +0100
committer dsomero2012-12-11 22:22:26 +0100
commit9abdf95a2af05f82627517ba6a57f1250143965b (patch)
tree64bfa2b23dfed19a83e6e8bab40bae343cfe4e63 /games/freedroidrpg/freedroidrpg.SlackBuild
parentc064880ae9ab682d8b02e38a10b055094d0a917b (diff)
downloadslackbuilds-9abdf95a2af05f82627517ba6a57f1250143965b.tar.gz
games/freedroidrpg: Updated for version 0.15.1.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'games/freedroidrpg/freedroidrpg.SlackBuild')
-rw-r--r--games/freedroidrpg/freedroidrpg.SlackBuild15
1 files changed, 11 insertions, 4 deletions
diff --git a/games/freedroidrpg/freedroidrpg.SlackBuild b/games/freedroidrpg/freedroidrpg.SlackBuild
index 2c01d89d62..c588cab3dd 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