diff options
Diffstat (limited to 'games/jzintv/jzintv.SlackBuild')
-rw-r--r-- | games/jzintv/jzintv.SlackBuild | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/games/jzintv/jzintv.SlackBuild b/games/jzintv/jzintv.SlackBuild index 67e7b28f8b2fb..b830b3b65c9fd 100644 --- a/games/jzintv/jzintv.SlackBuild +++ b/games/jzintv/jzintv.SlackBuild @@ -6,6 +6,10 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20230107 bkw: BUILD=3 +# - fix permissions in doc dir. +# - go ahead and include the ROMs in the package. + # 20211023 bkw: BUILD=2 # - fix -current build. # - binaries in /usr/games. @@ -17,7 +21,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=jzintv VERSION=${VERSION:-r1025} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -61,8 +65,8 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* cd $PRGNAM-$VERSION chown -R root:root . -find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ - \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ +find . -type f -a -exec chmod 644 {} \+ -o \ + -type d -a -exec chmod 755 {} \+ # 20211024 bkw: these patches are gzipped because they contain \r\n # line endings, and we can't trust git to preserve them. @@ -110,10 +114,12 @@ else ROMS="This package includes ROM images: $ROMS" fi -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -r *.txt doc examples rom misc $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README_SBo.txt +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC +echo "This directory is empty on purpose" > examples/spacepat/genasm/.dontdelete +cp -r *.txt doc examples rom misc $PKGDOC +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild +cat $CWD/README > $PKGDOC/README_SBo.txt mkdir -p $PKG/install sed "14s/:/: $ROMS/" $CWD/slack-desc > $PKG/install/slack-desc |