games/skulltag: Strip library.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2023-01-11 02:44:23 -05:00 committed by Willy Sudiarto Raharjo
parent 992e366dfd
commit 917a99efec
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -6,13 +6,14 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20230111 bkw: BUILD=4, strip libsnes_spc.so
# 20211024 bkw: BUILD=3, binaries in /usr/games, new-style icons
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=skulltag
VERSION=${VERSION:-098d}
BUILD=${BUILD:-3}
BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -84,6 +85,9 @@ mkdir -p \
$PKG/usr/share/$PRGNAM \
$PKG/usr/doc/$PRGNAM-$VERSION
# 20230111 bkw: this *one* library isn't already stripped:
strip libsnes_spc.so
mv $PRGNAM $PRGNAM-server *.so $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM
install -m0644 *.pk3 $PKG/usr/share/$PRGNAM
install -m0644 *.txt $PKG/usr/doc/$PRGNAM-$VERSION