games/dunelegacy: Fix homepage, .desktop.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2023-01-08 00:24:41 -05:00 committed by Willy Sudiarto Raharjo
parent b9a6d30880
commit 6695c8fe5a
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 4 additions and 3 deletions

View file

@ -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

View file

@ -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=""