summaryrefslogtreecommitdiff
path: root/games/libretro-yabause/libretro-yabause.SlackBuild
diff options
context:
space:
mode:
authorHunter Sezen <ovariegata@yahoo.com>2017-02-04 22:54:44 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-02-11 07:24:22 +0700
commit03e6eaac4e7118c8b176d71df2829dc71588d87a (patch)
tree90625dfd14d7ab820967f7c29ee15b4afa0dc1e4 /games/libretro-yabause/libretro-yabause.SlackBuild
parente7218e71a8df99c1860530659f6e66b0e3f03916 (diff)
downloadslackbuilds-03e6eaac4e7118c8b176d71df2829dc71588d87a.tar.gz
games/libretro-yabause: Updated for version 2017.01.24_c8f4c573.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
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