diff options
author | Hunter Sezen <ovariegata@yahoo.com> | 2016-12-06 22:06:01 +0000 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2016-12-10 00:57:38 +0000 |
commit | f0f0ac983053e064b9cf864b873cbd639b17d2aa (patch) | |
tree | 5039a7df3ef6e2004d175e8d66c0fb405b9ea251 /games/picodrive-libretro/picodrive-libretro.SlackBuild | |
parent | d68691ad6d68f7fa6a5cdb19a0013de985a71bc7 (diff) |
games/picodrive-libretro: Updated for version 2016.12.06_2ece107.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/picodrive-libretro/picodrive-libretro.SlackBuild')
-rw-r--r-- | games/picodrive-libretro/picodrive-libretro.SlackBuild | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/games/picodrive-libretro/picodrive-libretro.SlackBuild b/games/picodrive-libretro/picodrive-libretro.SlackBuild index c66a5cd2d4e64..0fb9b6b258fe2 100644 --- a/games/picodrive-libretro/picodrive-libretro.SlackBuild +++ b/games/picodrive-libretro/picodrive-libretro.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=picodrive-libretro LIBNAM=$(echo $PRGNAM | tr - _) -VERSION=${VERSION:-2016.07.04_7832385} +VERSION=${VERSION:-2016.12.06_2ece107} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -57,6 +57,8 @@ else LIBDIRSUFFIX="" fi +DEBUG=${DEBUG:-0} + set -e rm -rf $PKG @@ -72,13 +74,15 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -make -f Makefile.libretro +make -f Makefile.libretro DEBUG=$DEBUG install -Dm0644 $LIBNAM.so $PKG/usr/lib${LIBDIRSUFFIX}/libretro/$LIBNAM.so install -Dm0644 $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 +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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING ChangeLog README $PKG/usr/doc/$PRGNAM-$VERSION |