aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/dunelegacy/dunelegacy.SlackBuild5
-rw-r--r--games/dunelegacy/dunelegacy.info2
2 files changed, 4 insertions, 3 deletions
diff --git a/games/dunelegacy/dunelegacy.SlackBuild b/games/dunelegacy/dunelegacy.SlackBuild
index 82f42b0506c8a..fd44e19c28ee1 100644
--- a/games/dunelegacy/dunelegacy.SlackBuild
+++ b/games/dunelegacy/dunelegacy.SlackBuild
@@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230108 bkw: BUILD=3, fix .desktop file, use new homepage.
# 20170126 bkw:
# - update for 0.96.4. upstream ported to SDL 2, so add SDL2_mixer to REQUIRES
# - move binary to /usr/games
@@ -14,7 +15,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=dunelegacy
VERSION=${VERSION:-0.96.4}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -86,7 +87,7 @@ sed "s/@VERSION@/$VERSION/g" $CWD/$PRGNAM.6 \
| gzip -9c > $PKG/usr/man/man6/$PRGNAM.6.gz
mkdir -p $PKG/usr/share/applications $PKG/usr/share/pixmaps
-cat $PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
+sed '/^Encoding/d' < $PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
cat $PRGNAM-128x128.png > $PKG/usr/share/pixmaps/$PRGNAM.png
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/games/dunelegacy/dunelegacy.info b/games/dunelegacy/dunelegacy.info
index 98a8f72523c82..dc0271dce7c90 100644
--- a/games/dunelegacy/dunelegacy.info
+++ b/games/dunelegacy/dunelegacy.info
@@ -1,6 +1,6 @@
PRGNAM="dunelegacy"
VERSION="0.96.4"
-HOMEPAGE="http://dunelegacy.sourceforge.net/"
+HOMEPAGE="https://dunelegacy.sourceforge.net/website/"
DOWNLOAD="https://downloads.sourceforge.net/project/dunelegacy/dunelegacy/0.96.4/dunelegacy-0.96.4-src.tar.bz2"
MD5SUM="de1d0a529cc32ba5d909bf1570272434"
DOWNLOAD_x86_64=""