summaryrefslogtreecommitdiff
path: root/games/frogatto/frogatto.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/frogatto/frogatto.SlackBuild')
-rw-r--r--games/frogatto/frogatto.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/games/frogatto/frogatto.SlackBuild b/games/frogatto/frogatto.SlackBuild
index 6790379517..a33cebcbe5 100644
--- a/games/frogatto/frogatto.SlackBuild
+++ b/games/frogatto/frogatto.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=frogatto
-VERSION=1.1.1
+VERSION=${VERSION:-1.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* || tar xvf $CWD/$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -85,8 +85,8 @@ mkdir -p $PKG/usr/libexec/frogatto
mv game $PKG/usr/libexec/frogatto
mkdir -p $PKG/usr/share/frogatto
-mv data images music sounds $PKG/usr/share/frogatto
-mv locale $PKG/usr/share
+mv modules/frogatto/{data,images,music,sounds} $PKG/usr/share/frogatto
+mv modules/frogatto/locale $PKG/usr/share
mkdir -p $PKG/usr/bin
cat $CWD/frogatto.wrapper > $PKG/usr/bin/frogatto
@@ -110,7 +110,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- CHANGELOG FONT_GENERATION INSTALL LICENSE \
+ FONT_GENERATION INSTALL LICENSE modules/frogatto/CHANGELOG \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild