aboutsummaryrefslogtreecommitdiff
path: root/games/dunelegacy
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-01-08 00:24:41 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-14 08:50:22 +0700
commit6695c8fe5a2bde936dcbd727f9432adf6201dbd8 (patch)
tree11f758606e12de3a91b47b2997932022a9680840 /games/dunelegacy
parentb9a6d30880cf8e84067c09a8d3b88c6408f010af (diff)
downloadslackbuilds-6695c8fe5a2bde936dcbd727f9432adf6201dbd8.tar.xz
games/dunelegacy: Fix homepage, .desktop.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/dunelegacy')
-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 82f42b0506c8..fd44e19c28ee 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 98a8f72523c8..dc0271dce7c9 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=""