summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorlinrs <LinRs@users.noreply.github.com>2020-05-18 10:08:52 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-05-19 23:36:30 +0700
commit42eb062c8a969f824912a3d1d92f956c6de67170 (patch)
treebbc06a231c98c6b14b3162d71f0322471397de3f /games
parentba2748231a15ec48e202d1266310f7b2ac19f831 (diff)
downloadslackbuilds-42eb062c8a969f824912a3d1d92f956c6de67170.tar.gz
games/mgba: Fix typos when copying documents.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/mgba/mgba.SlackBuild14
1 files changed, 5 insertions, 9 deletions
diff --git a/games/mgba/mgba.SlackBuild b/games/mgba/mgba.SlackBuild
index bf31fdb0d0..c92e6edb3b 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