summaryrefslogtreecommitdiffstats
path: root/network/rhapsody
diff options
context:
space:
mode:
Diffstat (limited to 'network/rhapsody')
-rw-r--r--network/rhapsody/rhapsody.SlackBuild17
-rw-r--r--network/rhapsody/rhapsody.info4
2 files changed, 14 insertions, 7 deletions
diff --git a/network/rhapsody/rhapsody.SlackBuild b/network/rhapsody/rhapsody.SlackBuild
index 6d85a502b6..f23ad5dce9 100644
--- a/network/rhapsody/rhapsody.SlackBuild
+++ b/network/rhapsody/rhapsody.SlackBuild
@@ -2,10 +2,14 @@
# Slackware build script for rhapsody
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# 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,
diff --git a/network/rhapsody/rhapsody.info b/network/rhapsody/rhapsody.info
index b401f337cb..ad0deab6f9 100644
--- a/network/rhapsody/rhapsody.info
+++ b/network/rhapsody/rhapsody.info
@@ -1,10 +1,10 @@
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=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"