aboutsummaryrefslogtreecommitdiff
path: root/games/hedgewars/hedgewars.SlackBuild
diff options
context:
space:
mode:
authorRubén Llorente <porting@use.startmail.com>2018-05-07 09:44:48 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-05-07 09:44:48 +0700
commitc3245b338dddccf2f7ca7242226164c7d0699a5f (patch)
treed35e4e6ea39f9b0e587e61db7053bb866da4186f /games/hedgewars/hedgewars.SlackBuild
parent1e3326ed42e7df07a7760bb905f687d287ba655f (diff)
games/hedgewars: Updated for version 0.9.24.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/hedgewars/hedgewars.SlackBuild')
-rw-r--r--games/hedgewars/hedgewars.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/games/hedgewars/hedgewars.SlackBuild b/games/hedgewars/hedgewars.SlackBuild
index 1d6ece6596569..fff8e61458590 100644
--- a/games/hedgewars/hedgewars.SlackBuild
+++ b/games/hedgewars/hedgewars.SlackBuild
@@ -23,10 +23,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=hedgewars
-VERSION=${VERSION:-0.9.23}
+VERSION=${VERSION:-0.9.24.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRC_VERSION=${SRC_VERSION:-0.9.23}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -60,9 +59,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-src-$SRC_VERSION
+rm -rf $PRGNAM-src-$VERSION
tar xvjf $CWD/$PRGNAM-src-$VERSION.tar.bz2
-cd $PRGNAM-src-$SRC_VERSION
+cd $PRGNAM-src-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -87,13 +86,13 @@ cd ..
# Include the man page.
mkdir -p $PKG/usr/man/man6
-cp $TMP/$PRGNAM-src-$SRC_VERSION/man/hedgewars.6 $PKG/usr/man/man6
+cp $TMP/$PRGNAM-src-$VERSION/man/hedgewars.6 $PKG/usr/man/man6
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING INSTALL CREDITS README Fonts_LICENSE.txt ChangeLog.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING INSTALL.md CREDITS README.md Fonts_LICENSE.txt ChangeLog.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install