summaryrefslogtreecommitdiff
path: root/games/libretro-yabause/libretro-yabause.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/libretro-yabause/libretro-yabause.SlackBuild')
-rw-r--r--games/libretro-yabause/libretro-yabause.SlackBuild19
1 files changed, 9 insertions, 10 deletions
diff --git a/games/libretro-yabause/libretro-yabause.SlackBuild b/games/libretro-yabause/libretro-yabause.SlackBuild
index 10e474efe5..3290e3cdfd 100644
--- a/games/libretro-yabause/libretro-yabause.SlackBuild
+++ b/games/libretro-yabause/libretro-yabause.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=libretro-yabause
LIBNAM=yabause_libretro
-VERSION=${VERSION:-2016.03.04_4262e79}
+VERSION=${VERSION:-2017.01.24_c8f4c573}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -79,23 +79,22 @@ make -C libretro DEBUG=$DEBUG
install -Dm0644 libretro/$LIBNAM.so $PKG/usr/lib${LIBDIRSUFFIX}/libretro/$LIBNAM.so
install -Dm0644 $LIBNAM.info $PKG/usr/lib${LIBDIRSUFFIX}/libretro/info/$LIBNAM.info
-if [ "${DEBUG:-0}" = "0" ]; then
+if [ "$DEBUG" = "0" ]; then
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
fi
for DOCDIR in mini18n yabause yabauseut; do
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/$DOCDIR
+ cd $DOCDIR
+ for file in AUTHORS COPYING ChangeLog GOALS README* TODO; do
+ if [ -f $file ]; then
+ cp -a $file $PKG/usr/doc/$PRGNAM-$VERSION/$DOCDIR
+ fi
+ done
+ cd -
done
cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION
-
-MINI18N_DOCS="mini18n/COPYING mini18n/ChangeLog mini18n/README"
-YABAUSE_DOCS="yabause/AUTHORS yabause/COPYING yabause/ChangeLog yabause/GOALS yabause/README* yabause/TODO"
-YABAUSEUT_DOCS="yabauseut/COPYING yabauseut/ChangeLog yabauseut/TODO"
-cp -a $MINI18N_DOCS $PKG/usr/doc/$PRGNAM-$VERSION/mini18n
-cp -a $YABAUSE_DOCS $PKG/usr/doc/$PRGNAM-$VERSION/yabause
-cp -a $YABAUSEUT_DOCS $PKG/usr/doc/$PRGNAM-$VERSION/yabauseut
-
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install