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