games/oblige-legacy4: Clean up 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-07 16:44:01 -05:00 committed by Willy Sudiarto Raharjo
parent 72af43dcbf
commit 670e34b805
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 9 additions and 5 deletions

View file

@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20230107 bkw: BUILD=4, remove INSTALL.txt from doc dir.
# 20211020 bkw: BUILD=3
# - make the icon transparent
# - new-style icons (also transparent)
@ -30,7 +32,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=oblige-legacy4
VERSION=${VERSION:-4.28b}
BUILD=${BUILD:-3}
BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -120,9 +122,11 @@ ln -s ../icons/hicolor/48x48/apps/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
mkdir -p $PKG/usr/man/man6
gzip -9c < $CWD/$PRGNAM.6 > $PKG/usr/man/man6/$PRGNAM.6.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp *.txt doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKGDOC
rm -f INSTALL.txt
cp *.txt doc/*.txt $PKGDOC
cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

View file

@ -1,6 +1,6 @@
PRGNAM="oblige-legacy4"
VERSION="4.28b"
HOMEPAGE="http://oblige.sourceforge.net/"
HOMEPAGE="https://oblige.sourceforge.net/"
DOWNLOAD="https://downloads.sourceforge.net/project/oblige/Oblige/4.28/oblige-428b-source.zip"
MD5SUM="ae89031dcff12958bb866505c266c49f"
DOWNLOAD_x86_64=""