aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 eabb28524d8bc..d4b0eea7d2338 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 e8e4609330498..28a410c6c1837 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"