summaryrefslogtreecommitdiffstats
path: root/games/unknown-horizons/unknown-horizons.SlackBuild
diff options
context:
space:
mode:
author Dimitris Zlatanidis2017-08-22 15:52:19 +0200
committer Willy Sudiarto Raharjo2017-08-26 02:20:19 +0200
commit0c3f840ce755151e3e35e41e7ab9cb618356e602 (patch)
tree487b50f9abe23cd57ad955bfa857a6834d098083 /games/unknown-horizons/unknown-horizons.SlackBuild
parent133d276ca05ffdd953ca9314bbcc0ce51f982555 (diff)
downloadslackbuilds-0c3f840ce755151e3e35e41e7ab9cb618356e602.tar.gz
games/unknown-horizons: Fixed tarball handling.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'games/unknown-horizons/unknown-horizons.SlackBuild')
-rw-r--r--games/unknown-horizons/unknown-horizons.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/games/unknown-horizons/unknown-horizons.SlackBuild b/games/unknown-horizons/unknown-horizons.SlackBuild
index eabb28524d..d4b0eea7d2 100644
--- a/games/unknown-horizons/unknown-horizons.SlackBuild
+++ b/games/unknown-horizons/unknown-horizons.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=unknown-horizons
VERSION=${VERSION:-2017.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -59,9 +59,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+cd $PRGNAM
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -88,7 +88,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CONTRIBUTING.md README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.md doc/CHANGELOG.md doc/AUTHORS.md doc/licenses/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install