aboutsummaryrefslogtreecommitdiff
path: root/games/crossfire-client/crossfire-client.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2019-10-04 17:48:04 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-10-05 13:51:55 +0700
commit34306b700f01ea0dd1af7cab5b0760d9643e0e95 (patch)
tree68184937d9184e17adb493b0205be7f398ba2ff6 /games/crossfire-client/crossfire-client.SlackBuild
parent8ef3991b2470b9ce68dc328da374d63c637dea88 (diff)
games/crossfire-client: Updated for version 1.73.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'games/crossfire-client/crossfire-client.SlackBuild')
-rw-r--r--games/crossfire-client/crossfire-client.SlackBuild9
1 files changed, 2 insertions, 7 deletions
diff --git a/games/crossfire-client/crossfire-client.SlackBuild b/games/crossfire-client/crossfire-client.SlackBuild
index 3831085573a0e..b4d28723665dd 100644
--- a/games/crossfire-client/crossfire-client.SlackBuild
+++ b/games/crossfire-client/crossfire-client.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for crossfire-client
-# Copyright 2014-2017 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=crossfire-client
-SRCSOUNDS=$(printf $PRGNAM | cut -c1-9)
-VERSION=${VERSION:-1.72.0}
+VERSION=${VERSION:-1.73.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,7 +62,6 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
-tar xvf $CWD/$SRCSOUNDS-sounds-$VERSION.tar.bz2
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -89,9 +87,6 @@ cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mkdir -p $PKG/usr/share/$PRGNAM
-cp -rf $SRCSOUNDS-sounds-$VERSION/* $PKG/usr/share/$PRGNAM
-
mkdir -p $PKG/usr/share/applications
install -D -m644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop