python/python3-pygame: Update script.

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dimitris Zlatanidis 2024-02-20 12:24:44 +02:00 committed by Willy Sudiarto Raharjo
parent 0197358b4f
commit a7d4961d77
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-pygame
SRCNAM=pygame
VERSION=${VERSION:-2.5.2}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -86,6 +86,7 @@ sed -i 's/"dpkg-architecture -qDEB_HOST_MULTIARCH",//' buildconfig/config_unix.p
python3 -u buildconfig/config.py
CFLAGS="$SLKCFLAGS" \
PYGAME_DETECT_AVX2=1 \
python3 setup.py install --root=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \