mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
games/typhoon_2001: Fix doc dir.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
00f7965278
commit
1195b77643
1 changed files with 8 additions and 3 deletions
|
@ -11,6 +11,8 @@
|
||||||
# typhoon.cfg needs to be a real file and be writable by the user.
|
# typhoon.cfg needs to be a real file and be writable by the user.
|
||||||
# (it will be created the first time the game is run).
|
# (it will be created the first time the game is run).
|
||||||
|
|
||||||
|
# 20230107 bkw: BUILD=4, forgot the SlackBuild in the doc dir.
|
||||||
|
|
||||||
# 20211216 bkw: BUILD=3
|
# 20211216 bkw: BUILD=3
|
||||||
# - make sound work OOTB: run binary with aoss wrapper.
|
# - make sound work OOTB: run binary with aoss wrapper.
|
||||||
|
|
||||||
|
@ -23,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=typhoon_2001
|
PRGNAM=typhoon_2001
|
||||||
VERSION=${VERSION:-r3992}
|
VERSION=${VERSION:-r3992}
|
||||||
BUILD=${BUILD:-3}
|
BUILD=${BUILD:-4}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
PKGTYPE=${PKGTYPE:-tgz}
|
PKGTYPE=${PKGTYPE:-tgz}
|
||||||
|
|
||||||
|
@ -41,6 +43,8 @@ TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
|
PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
rm -fr $TMP/$PRGNAM $PKG $TMP/$PRGNAM-$VERSION
|
rm -fr $TMP/$PRGNAM $PKG $TMP/$PRGNAM-$VERSION
|
||||||
|
@ -61,11 +65,12 @@ chmod 755 typhoon
|
||||||
# OK, put everything where it goes in a proper Slack package...
|
# OK, put everything where it goes in a proper Slack package...
|
||||||
mkdir -p $PKG/usr/share/games/$PRGNAM \
|
mkdir -p $PKG/usr/share/games/$PRGNAM \
|
||||||
$PKG/usr/libexec \
|
$PKG/usr/libexec \
|
||||||
$PKG/usr/doc/$PRGNAM-$VERSION \
|
$PKGDOC \
|
||||||
$PKG/install \
|
$PKG/install \
|
||||||
$PKG/usr/games
|
$PKG/usr/games
|
||||||
|
|
||||||
cp -a readme_linux.txt $PKG/usr/doc/$PRGNAM-$VERSION
|
cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
|
||||||
|
cp -a readme_linux.txt $PKGDOC
|
||||||
cp -a typhoon $PKG/usr/libexec
|
cp -a typhoon $PKG/usr/libexec
|
||||||
cp -a game *.mod *.dat $PKG/usr/share/games/$PRGNAM
|
cp -a game *.mod *.dat $PKG/usr/share/games/$PRGNAM
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue