libraries/wxPython4: Update build method.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2024-10-08 09:46:46 +07:00
parent 91e73e5d3c
commit 4a5fc704f8
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 4 additions and 3 deletions

View file

@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=wxPython4
SRCNAM=wxPython
VERSION=${VERSION:-4.2.2}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -79,7 +79,8 @@ 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 {} \+
python3 setup.py install --root=$PKG
python3 build.py build --use_syswx --release
python3 build.py install --destdir="$PKG"
mkdir -p $PKG/usr/share/{applications,pixmaps} $PKG/usr/share/icons/hicolor/{16x16,32x32}/apps
install -m 644 wx/py/PyCrust_16.png $PKG/usr/share/icons/hicolor/16x16/apps/PyCrust.png

View file

@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/a4/f5/8c272764770f47fd419cc2ef
MD5SUM="962fdea7ec4f93b59d17783d03eecf3a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="webkit2gtk4.1 python3-pathlib2 python3-attrdict"
REQUIRES="wxWidgets python3-pathlib2 python3-attrdict"
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"