diff options
Diffstat (limited to 'games/GLupeN64/GLupeN64.SlackBuild')
-rw-r--r-- | games/GLupeN64/GLupeN64.SlackBuild | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/games/GLupeN64/GLupeN64.SlackBuild b/games/GLupeN64/GLupeN64.SlackBuild index cbded1d69c..4253e8eb42 100644 --- a/games/GLupeN64/GLupeN64.SlackBuild +++ b/games/GLupeN64/GLupeN64.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=GLupeN64 LIBNAM=$(echo $PRGNAM | tr [A-Z] [a-z])_libretro -VERSION=${VERSION:-2016.09.15_6baff60} +VERSION=${VERSION:-2016.10.12_4378f48} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -84,21 +84,18 @@ if [ "${DEBUG:-0}" = "0" ]; then | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true fi -for DOCDIR in GLideN64 glsl-optimizer mupen64plus-core mupen64plus-rsp-hle; do +PLUGIN="GLideN64 glsl-optimizer mupen64plus-core mupen64plus-rsp-cxd4 mupen64plus-rsp-hle" +DOCS="Changelog.md COPYING INSTALL LICENSES LICENSE license.txt README.md README RELEASE" + +for DOCDIR in $PLUGIN; do mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/$DOCDIR + for file in $DOCS; do + if [ -f $DOCDIR/$file ]; then + cp -a $DOCDIR/$file $PKG/usr/doc/$PRGNAM-$VERSION/$DOCDIR + fi + done done -cp -a *.md $PKG/usr/doc/$PRGNAM-$VERSION - -CORE_DOCS="mupen64plus-core/INSTALL mupen64plus-core/LICENSES mupen64plus-core/README mupen64plus-core/RELEASE" -GLIDEN64_DOCS="GLideN64/LICENSE GLideN64/README.md" -GLSL_DOCS="glsl-optimizer/*.md glsl-optimizer/license.txt" -HLE_DOCS="mupen64plus-rsp-hle/INSTALL mupen64plus-rsp-hle/LICENSES mupen64plus-rsp-hle/RELEASE" - -cp -a $CORE_DOCS $PKG/usr/doc/$PRGNAM-$VERSION/mupen64plus-core -cp -a $GLIDEN64_DOCS $PKG/usr/doc/$PRGNAM-$VERSION/GLideN64 -cp -a $GLSL_DOCS $PKG/usr/doc/$PRGNAM-$VERSION/glsl-optimizer -cp -a $HLE_DOCS $PKG/usr/doc/$PRGNAM-$VERSION/mupen64plus-rsp-hle - +cp -a *.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |