summaryrefslogtreecommitdiff
path: root/games/frogatto/frogatto.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-08-07 17:24:26 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit735bb6413fe69d45e362de3499637f841e9bfe6d (patch)
treea215141080fd36431aed5b716f1a6fe480d56ad4 /games/frogatto/frogatto.SlackBuild
parentd6a5c1ff6f082053aaba52f6f7082d8cf4ed36f8 (diff)
downloadslackbuilds-735bb6413fe69d45e362de3499637f841e9bfe6d.tar.gz
games/frogatto: Updated for version 1.3.1.
Fixes build failure on -current. Signed-off-by: David Spencer <baildon.research@googlemail.com>
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