summaryrefslogtreecommitdiff
path: root/games/hedgewars/hedgewars.SlackBuild
diff options
context:
space:
mode:
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 1d6ece6596..fff8e61458 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