diff options
author | 2022-05-01 13:59:43 -0400 | |
---|---|---|
committer | 2022-05-07 13:59:19 +0700 | |
commit | 3a02606f4b741ebc2277cf9b95bea22d91fc93da (patch) | |
tree | 5bca50727d7181ecea07d6edc32ec73c1b32d43c /games/scummvm/scummvm.SlackBuild | |
parent | ad90d4f2af5ca4195f562677d0dd5d1042649dc9 (diff) | |
download | slackbuilds-3a02606f4b741ebc2277cf9b95bea22d91fc93da.tar.gz slackbuilds-3a02606f4b741ebc2277cf9b95bea22d91fc93da.tar.xz |
games/scummvm: Fix doinst.sh and docs.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/scummvm/scummvm.SlackBuild')
-rw-r--r-- | games/scummvm/scummvm.SlackBuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/games/scummvm/scummvm.SlackBuild b/games/scummvm/scummvm.SlackBuild index 6a2650450f..c17aa05fcd 100644 --- a/games/scummvm/scummvm.SlackBuild +++ b/games/scummvm/scummvm.SlackBuild @@ -23,11 +23,15 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220501 bkw: Modified by SlackBuilds.org, BUILD=2: +# - update icon cache in doinst.sh. +# - include SlackBuild in package doc dir. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=scummvm VERSION=${VERSION:-2.5.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -39,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 @@ -119,7 +120,8 @@ strip --strip-unneeded $PKG/usr/games/scummvm 2> /dev/null ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild # We don't need these - they're redundant rm -rf $PKG/usr/share/doc |