aboutsummaryrefslogtreecommitdiff
path: root/games/mgba/mgba.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/mgba/mgba.SlackBuild')
-rw-r--r--games/mgba/mgba.SlackBuild12
1 files changed, 3 insertions, 9 deletions
diff --git a/games/mgba/mgba.SlackBuild b/games/mgba/mgba.SlackBuild
index c92e6edb3bee..6b51b2be8614 100644
--- a/games/mgba/mgba.SlackBuild
+++ b/games/mgba/mgba.SlackBuild
@@ -24,9 +24,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mgba
-LIBNAM=${PRGNAM}_libretro
-VERSION=${VERSION:-0.8.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.8.2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -83,19 +82,14 @@ cd build
-DCMAKE_INSTALL_BINDIR=games \
-DCMAKE_INSTALL_DOCDIR=doc/$PRGNAM-$VERSION \
-DCMAKE_INSTALL_LIBDIR:PATH=lib$LIBDIRSUFFIX \
- -DLIBRETRO_LIBDIR=/usr/lib$LIBDIRSUFFIX/libretro \
-DMANDIR=man \
+ -DUSE_LIBZIP=OFF \
-DBUILD_QT=${QT} \
- -DBUILD_LIBRETRO=ON \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
cd ..
-# 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