From 42eb062c8a969f824912a3d1d92f956c6de67170 Mon Sep 17 00:00:00 2001 From: linrs Date: Mon, 18 May 2020 10:08:52 +0000 Subject: games/mgba: Fix typos when copying documents. Signed-off-by: Willy Sudiarto Raharjo --- games/mgba/mgba.SlackBuild | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'games/mgba') diff --git a/games/mgba/mgba.SlackBuild b/games/mgba/mgba.SlackBuild index bf31fdb0d0e55..c92e6edb3beed 100644 --- a/games/mgba/mgba.SlackBuild +++ b/games/mgba/mgba.SlackBuild @@ -26,7 +26,7 @@ PRGNAM=mgba LIBNAM=${PRGNAM}_libretro VERSION=${VERSION:-0.8.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -92,13 +92,9 @@ cd build make install DESTDIR=$PKG cd .. -if [ -d /usr/lib${LIBDIRSUFFIX}/libretro ]; then - (echo "=== Building libretro core" - install -Dm0644 $CWD/$LIBNAM.info \ - $PKG/usr/lib${LIBDIRSUFFIX}/libretro/info/$LIBNAM.info) -else - echo "=== NOT building libretro core" -fi +# install libretro info file +install -Dm0644 $CWD/$LIBNAM.info \ + $PKG/usr/lib${LIBDIRSUFFIX}/libretro/info/$LIBNAM.info 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 @@ -107,7 +103,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp CHANGES LICENSE ONTRIBUTING.md PORTING.md README.md README_DE.md \ +cp CHANGES LICENSE CONTRIBUTING.md PORTING.md README.md README_DE.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -- cgit v1.2.3