network/rhapsody: Fix homepage and doc dir.

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-03 21:58:29 -05:00 committed by Willy Sudiarto Raharjo
parent 8ccc8b8b24
commit 0c0185487f
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 12 additions and 5 deletions

View File

@ -6,6 +6,10 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20230103 bkw: BUILD=3
# - use https URL for homepage in info file.
# - remove useless INSTALL from doc dir.
# 20210923 bkw: fix build on -current, mitigate buffer overflow.
# TODO: see if there's anything to these:
@ -22,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=rhapsody
VERSION=${VERSION:-0.28b}
BUILD=${BUILD:-2}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -70,6 +74,8 @@ chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
# This patch does:
# - prevent input buffer overflow if user types/pastes > 1023 chars
# into the input window.
@ -81,10 +87,11 @@ make LOCALFLAGS="$SLKCFLAGS -fcommon"
strip $PRGNAM
make install \
INSTALLPATH=$PKG/usr/bin \
INSTDOCSPATH=$PKG/usr/doc/$PRGNAM-$VERSION
INSTDOCSPATH=$PKGDOC
cp README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cp README $PKGDOC
rm -f $PKGDOC/INSTALL
cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
# Man page borrowed from Ubuntu and modified a bit.
# rhapsody doesn't really need a man page,

View File

@ -1,6 +1,6 @@
PRGNAM="rhapsody"
VERSION="0.28b"
HOMEPAGE="http://rhapsody.sourceforge.net/"
HOMEPAGE="https://rhapsody.sourceforge.net/"
DOWNLOAD="https://downloads.sourceforge.net/rhapsody/rhapsody_0.28b.tgz"
MD5SUM="0792de636a2625a826491e387fcb1305"
DOWNLOAD_x86_64=""