mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
games/nsuds: Fix docs.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
7c63677bfb
commit
cd9c672296
1 changed files with 12 additions and 3 deletions
|
@ -2,6 +2,9 @@
|
|||
# Slackware build script for nsuds
|
||||
# Written by Dan-Simon Myrland <dansimon@radiotube.org>
|
||||
|
||||
# 20220505 bkw: Modified by SlackBuilds.org, BUILD=3:
|
||||
# - move help doc to regular Slackware doc dir (not /usr/share/doc).
|
||||
|
||||
# 20220220 bkw: Modified by SlackBuilds.org, BUILD=2:
|
||||
# - fix 15.0 build.
|
||||
# - binary in /usr/games, man page in section 6.
|
||||
|
@ -13,7 +16,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
|
||||
PRGNAM=nsuds
|
||||
VERSION=${VERSION:-0.7B}
|
||||
BUILD=${BUILD:-2}
|
||||
BUILD=${BUILD:-3}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
|
@ -72,10 +75,16 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--bindir=/usr/games \
|
||||
--mandir=/usr/man \
|
||||
--datadir=/usr \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make
|
||||
make install-strip DESTDIR=$PKG
|
||||
# 20220505 bkw: this moves the "main" doc to our doc dir.
|
||||
runmake() {
|
||||
make datadir=/usr ourhelpdir=/usr/doc/$PRGNAM-$VERSION "$@"
|
||||
}
|
||||
|
||||
runmake
|
||||
runmake install-strip DESTDIR=$PKG
|
||||
|
||||
mkdir -p $PKG/usr/man/man6
|
||||
sed '/^\.TH/s,"1","6",' $PKG/usr/man/man1/$PRGNAM.1 | \
|
||||
|
|
Loading…
Reference in a new issue