aboutsummaryrefslogtreecommitdiff
path: root/libraries/wxPython4/wxPython4.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-10-08 09:46:46 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-10-11 11:48:42 +0700
commit4a5fc704f8803795754f2ba9670fbe4ed690ed6f (patch)
tree842aa6921a9d6cb3af32fbfce661602a9e3f396e /libraries/wxPython4/wxPython4.SlackBuild
parent91e73e5d3c3b4803d5cedb90d7e30e5360544141 (diff)
libraries/wxPython4: Update build method.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/wxPython4/wxPython4.SlackBuild')
-rw-r--r--libraries/wxPython4/wxPython4.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/libraries/wxPython4/wxPython4.SlackBuild b/libraries/wxPython4/wxPython4.SlackBuild
index e4a30b6578..ec5029b880 100644
--- a/libraries/wxPython4/wxPython4.SlackBuild
+++ b/libraries/wxPython4/wxPython4.SlackBuild
@@ -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