summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2017-08-22 15:52:19 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-08-26 07:20:19 +0700
commit0c3f840ce755151e3e35e41e7ab9cb618356e602 (patch)
tree487b50f9abe23cd57ad955bfa857a6834d098083
parent133d276ca05ffdd953ca9314bbcc0ce51f982555 (diff)
downloadslackbuilds-0c3f840ce755151e3e35e41e7ab9cb618356e602.tar.gz
games/unknown-horizons: Fixed tarball handling.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
-rw-r--r--games/unknown-horizons/unknown-horizons.SlackBuild10
-rw-r--r--games/unknown-horizons/unknown-horizons.info4
2 files changed, 7 insertions, 7 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
diff --git a/games/unknown-horizons/unknown-horizons.info b/games/unknown-horizons/unknown-horizons.info
index e8e4609330..28a410c6c1 100644
--- a/games/unknown-horizons/unknown-horizons.info
+++ b/games/unknown-horizons/unknown-horizons.info
@@ -1,8 +1,8 @@
PRGNAM="unknown-horizons"
VERSION="2017.2"
HOMEPAGE="http://www.unknown-horizons.org"
-DOWNLOAD="https://github.com/unknown-horizons/unknown-horizons/archive/2017.2.tar.gz"
-MD5SUM="c0ae0b064ea4d7f5fd12b985042c5495"
+DOWNLOAD="https://github.com/unknown-horizons/unknown-horizons/releases/download/2017.2/unknown-horizons-2017.2.tar.xz"
+MD5SUM="a99c8858f6cce0b560b97ce74518d007"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="fifengine PyYAML"