games/ufoai: Strip shared lib.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2022-04-30 16:43:33 -04:00 committed by Willy Sudiarto Raharjo
parent db17b86e86
commit ad45cc17dd
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 4 additions and 1 deletions

View File

@ -16,6 +16,8 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20220430 bkw: BUILD=4: strip game.so.
# 20211017 bkw: BUILD=3
# - fix build on -current again:
# - disable building with BFD.
@ -51,7 +53,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ufoai
VERSION=${VERSION:-2.5}
BUILD=${BUILD:-3}
BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -168,6 +170,7 @@ make lang
# Manual install: first the data...
mkdir -p $PKG/usr/share/games/$PRGNAM $PKG/usr/games
strip base/game.so
cp -a base $PKG/usr/share/games/$PRGNAM/
# ...then the binaries