diff options
author | B. Watson <yalhcru@gmail.com> | 2022-05-05 12:06:30 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-05-07 13:59:19 +0700 |
commit | 700891633509347e5f7005c43b63894a710613cd (patch) | |
tree | 8fd51bbbde75e13b5ed7cde84f146fb2739138b6 /games | |
parent | 8e45c0016f16ca978ddb2f43095f23c11da1cacc (diff) | |
download | slackbuilds-700891633509347e5f7005c43b63894a710613cd.tar.gz |
games/redeclipse: Fix docs.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r-- | games/redeclipse/redeclipse.SlackBuild | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/games/redeclipse/redeclipse.SlackBuild b/games/redeclipse/redeclipse.SlackBuild index 964239fcc3..c4f99a397e 100644 --- a/games/redeclipse/redeclipse.SlackBuild +++ b/games/redeclipse/redeclipse.SlackBuild @@ -23,12 +23,15 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220505 bkw: Modified by SlackBuilds.org, BUILD=2: +# - move example server config to Slackware doc dir, remove /usr/share/doc. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=redeclipse VERSION=${VERSION:-2.0.0} SRCNAM=base -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -40,9 +43,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -90,9 +90,9 @@ done chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ # Try and fix issue with cube2font not installing properly # https://github.com/redeclipse/base/issues/988 @@ -115,6 +115,8 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION +mv $PKG/usr/share/doc/$PRGNAM/examples $PKG/usr/doc/$PRGNAM-$VERSION +rm -rf $PKG/usr/share/doc cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild # Copy slack-desc and doinst.sh into ./install |